4 ms·
> the templating language that Angular came up with? ngIf, ngBlah The new templating syntax is simply @if () @else () ... it makes it much clearer to read in m
by EMM_386 3y ago
> the templating language that Angular came up with? ngIf, ngBlah
The new templating syntax is simply @if () @else () ... it makes it much clearer to read in many cases.
I never had a problem with *ngIf as long as you are controlling the visibility of one element. It became messy when you needed "else" statements in there.