loading...

(Angular): Load dynamic component multiple times with different data

anduser96 profile image Andrei Gatej ・1 min read

I need to load a dynamic component multiple times and pass data dynamically based on some value so that it will load with runTime data.

I have tried below example https://dzone.com/articles/how-to-dynamically-create-a-component-in-angular

as per example we have one messageComponent that have "message" property and in hostComponent we are adding one template…

Discussion

markdown guide