*ngIf else if in template
How would I have multiple cases in an *ngIf statement? I'm used to Vue or Angular 1 with having an if , else if , and else , but it seems like Angular 4 only has a true ( if ) and false ( else ) condition. According to the documentation, I can only do: <ng-container *ngIf="foo === 1; then first else second"></ng-container> <ng-template #first>First</ng-template> <ng-template #second>Second</ng-template> <ng-template #third>Third</ng-template> But I want to have multiple conditions (something like): <ng-container *ngIf="foo === 1; then first; foo === 2; then second else third"></ng-container>