Hi,

I am tryning to merge dynamic HTML and dynamic components and I was not 
able to found how to do that or if it is possible or not.

I know how to create dynamic html, .e.g. <div [innerHtml]='value'></div>
And I am able to create dynamic component too with the 
ComponentResolverFactory service.

..but I could not find how to combine dynamic html with dynamic component. 

For instance I would like to do something like :
<div class="foo">
   <dynamic-component [context]='initialisationValues'></dynamic-component>
<div>

My problem is due to the fact that the html is around the dynamic component 
(open tag before the component, and closing tag after). 
I would like to inject the component after the html, inside it, or to 
inject the html around the component after its creation.

Both HTML and dynamic component definition are stored in a database.

I can't use the approach of compiling a dynamic template as I want to use 
it with aot.

Thanks in advance,
Arnaud.

-- 
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