Angular 17, Ngif, Ngfor, Ngswitch, Razor.
into JavaScript code. All these fragments essentially enable us to use directives with the asterisk character within an ng-template, applying syntactic sugar. In other words, the Angular compiler transforms the above example into the following in the background. <ng-template [ngIf]="condition">