title: Hide table header if no results after filter
body: <p>I have a <code>table</code> containing some data. And i have to filters on this data.</p>
  
  <p>When, after filtering data, there is no results, i want to show a "no results" message, and it works.</p>
  
  <p>But i also want to hide the table completely when there are no results. </p>
  
  <p>Here is a demo : </p>
  
  <p><a href="http://plnkr.co/edit/iSbr9Ij4wsX947JqAsEB?p=preview" rel="nofollow">http://plnkr.co/edit/iSbr9Ij4wsX947JqAsEB?p=preview</a></p>
  
  <p>I tried :</p>
  
  <pre><code>&lt;table  ng-if="results.length &gt; 0"&gt;
  </code></pre>
  
  <p>But that gave me a js error</p>
  
  <p>Is there a way to hide the table if there are no results to show ?</p>
  
  <p>Thanks a lot</p>