I have a list of lists and I want to hide/show internal list based on an attribute value
<md-list *ngFor="let el of data">
<md-list-item *ngFor="let item of el.items" >
<h4 mdSubhead]er>{{item.name}}</h4>
</md-list-item>h4
</md-list>
I have tried with *ngIf
, but Angular4 permit only one template binding for an element.
How can I implement this beavior?