Angular - Directives
Which of these is the correct syntax to use
*ngIf with an else template?*ngIf with an else template?*ngIf else syntax*ngIf="condition; else templateRef" and a separate <ng-template> with the matching reference.else noContent and defines <ng-template #noContent>. Others misuse else or template references.*ngIf else syntax = *ngIf="cond; else templateRef" with <ng-template> [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions