I\'m having a problem with trying to use Angular\'s *ngFor
and *ngIf
on the same element.
When trying to loop through the collection in th
Table below only lists items that have a "beginner" value set.
Requires both the *ngFor
and the *ngIf
to prevent unwanted rows in html.
Originally had *ngIf
and *ngFor
on the same tag, but doesn't work.
Added a *ngFor
loop and placed *ngIf
in the tag, works as expected.
{{lesson.description}}
{{lesson.duration}}