title: Angular 4 - show/Hide elements on ngFor directive
body: <p>I have a list of lists and I want to hide/show internal list based on an attribute value</p>
  
  <pre><code>&lt;md-list *ngFor="let el of data"&gt;
      &lt;md-list-item *ngFor="let item of el.items" &gt;
        &lt;h4 mdSubhead]er&gt;{{item.name}}&lt;/h4&gt;
      &lt;/md-list-item&gt;h4
    &lt;/md-list&gt;
  </code></pre>
  
  <p>I have tried with <code>*ngIf</code>, but Angular4 permit only one template binding for an element.</p>
  
  <p>How can I implement this beavior?</p>