B
B
bullock2018-09-14 12:28:07
Angular
bullock, 2018-09-14 12:28:07

How to dynamically insert components into a template in Angular?

There is a need to insert / remove such tiles dynamically in the component:
5b9b7ef729b9d315365557.png
How to do this in Angular? I would like each tile to be a separate component.
UPDATE:
I 'm solving this problem:
1) a new element appears on the server.
2) element data is passed to the angular.
3) Angular creates a component and adds it to the existing set of child components (Card Title).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question