Angular, Angular 17, Control Flow, Template Syntax, Ngif Else.
Another directive that gets a better syntax alternative is ngSwitch and its not-so-obvious syntax: <div [ngSwitch]="page"> <p *ngSwitchCase="1">Viewing content of first page</p> <p *ngSwitchCase="2">Viewing content of second page</p> <p *ngSwitchCase="3">Viewing content of third page</p> <p