Есть ли лучшее решение в Angular 5?
<div *ngFor="let component of components | async">
<component-1 *ngIf="component.type === 'some-type-1'"></component-1>
<component-2 *ngIf="component.type === 'some-type-2'"></component-2>
<component-3 *ngIf="component.type === 'some-type-3'"></component-3>
</div>