Use Dynamic Components to render HTML for 3rd party libraries

By Juri Strumpflohner

Dynamic components in Angular are very powerful and help you solve the trickiest problems. In this example we’re going to learn how we can leverage dynamic Angular components to render the HTML of a popup controlled by a Leaflet map. We’ll go step by step and also learn about the things you need to watch for when instantiating components dynamically.