'Angular Get list of dynamic components

I need to loop throughout over nested child components inside on div. I try that with ViewChildren but I got only a list of created components and when I create a dynamic component, Unfortunately, the list is not updated. I tried to manually run the change detector too which is no effect at all.

MyProject



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source