title: Using ngIF in Ionic 3
body: <p>I used to use ngshow when I wanted to hide or show divs in ionic 1. </p>
  
  <p>I'm using ionic 3 and I'm trying to make the button do nothing (no click event) if the indexCount == 0.</p>
  
  <p>I currently have...</p>
  
  <pre><code>&lt;div ng-if=" indexCount == 0"&gt;
  &lt;button ion-button class="previous"&gt; Previous &lt;/button&gt;
  
  &lt;div ng-if=" indexCount != 0"&gt;
   &lt;button ion-button class="next" (click)="previousButtonClick"&gt; Next 
  &lt;/button&gt;
  </code></pre>