Hi Trukel,

That is not how you should create a dynamic object. You will soon run into 
all kinds off edge-cases. Also, this demands the compiler to be loaded. 
That means you can't use AOT compiling, which will be the default in 
Angular version 5(very likely, might be V6) 
For now, this is the answer 
<https://blog.angularindepth.com/here-is-what-you-need-to-know-about-dynamic-components-in-angular-ac1e96167f9e>.
 
But if you can wait, you might be able to use the 
angular-to-webcomponents compiler that's experimental now.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to