Goodmorning everyone,

Imagine you have an angular2 application that loads a number of child 
components in its view.

In order to be loaded, these components must all be referenced by the App 
compontent through import and view through directives.


Now imagine that the list of child components to be loaded is configured in 
a json file.


What I need to know is if there is a way to load these components without a 
direct reference, but referencing an interface implemented by all of these 
child components.
I need something in angular2 similar to the concept of reflection in .net, 
to create an application that loads components dinamically.


Massimiliano

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to