Dynamically add components to the DOM with Angular
Dave Rivera
1.8K32

Hi Dave, great article.

Could you explain how I could use your example to dynamically create Components from a JSON object. For example, rather than create the component with selector my-app, can I use the ‘@component’ declaration whilst working on an array containing the template HTML?

Hope my question is clear (I suspect not….) Cheers