Dynamically Creating Components with Angular
Netanel Basal

Hey, this article is awesome, you explain everything resumed and to the point, waaaaaay easier to understand. However, I have a question: What if I don’t have the container in the template? for instance, I’d like to use Leaflet and spawn a marker popup with a <div #container></div> template (which is added to the DOM at runtime when you click on it). Is this possible?, I mean, if I’m not creating the element in the component’s template? I’m not sure if you get me :P

Like what you read? Give DARK Guy a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.