Hi There.

I'm trying to build a Dynamic Component Container that is able to load 
multiple components depending on the configuration of the container.
This configuration will be retrieved from database, and it will contain the 
ComponentName among other stuff.

I'm trying to use ComponentResolver to resolve with a specific String 
instead of a specific Type, so I don't have to hard-code any factory that 
returns the Type given a String. So, for example, if I define the class 
"Component1", I need to call cr.resolveComponent("Component1") instead of 
cr.resolveComponent(Component1). But i Get the Error "Cannot resolve 
component using 'Component1'"

Any Help would be really apreciated

Regards,

S.

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to