I'm developing a modular angular 8 app and I'm wondering if is it possible to call a "dynamic" component selector inside a template.
For instance: I have a module called "TestModule" loaded in my application. It have a component callable by a "test-component" selector.
I can load this component using the selector in the main application template:
<test-component></test-component>
Is it possible to use a variable for the selector? Since the modules are dynamic it's name is not know. A (non working) solution should be:
<{{dynamicName}}></{{dynamicName}}>
And in the main app component dynamicName is set to "test-component".
Thanks