Angular2 ngSwitch with only
<ng-container [ngSwitch]=”activeLayout”> <ng-container *ngSwitchCase=”‘layout1′” [ngTemplateOutlet]=”template1″></ng-container> <ng-container *ngSwitchDefault [ngTemplateOutlet]=”defaultTemplate”></ng-container> </ng-container> This is my solution when I need to make a switch of different ng-template. I hope it works for you.