Dynamically Creating Components With Angular
Netanel Basal
13515

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

Show your support

Clapping shows how much you appreciated DARK Guy’s story.