To preface, this is related to the following question:
Is there a way to programmatically render a component in Angular?
Is it possible to render dynamic components from an array in the view model? (similar to using the ng-template for a single component from the aforementioned question).
<div *ngFor="let component of components">
<Do something here to render component>
</div>
I worked with KnockoutJs prior and it was fairly easy to accomplish this with something like the following in the view:
<!-- ko foreach: someArrayOfComponents -->
<!-- ko component: { componentName: 'some-component', params: someComponentViewModel } --><!-- /ko -->
<!-- /ko -->