title: How I can hide and show tabs conditionally in Ionics?
body: <p>The case is the following: I have a <code>ion-tabs</code> container with several <code>ion-tab</code> elements, and different users that logs into my application. What I need to do is to show or hide the <code>ion-tab</code> elements depending on the user type logged.</p>
  
  <p>I have tried to hide just one tab to check if it is possible and the only thing that have worked is:</p>
  
  <pre><code>&lt;ion-tab title="..." icon="..." ui-sref="..." class="ng-hide"&gt;
  </code></pre>
  
  <p>The problem is that I need to do this dynamically, and if I use a directive like <code>ng-show="false"</code> or my own directive to add <code>class="ng-hide"</code>, it does not work. Not even encapsulating the <code>ion-tab</code> inside a <code>div</code>and hide this <code>div</code>.</p>
  
  <p>What am I doing wrong? Can somebody help me?</p>
  
  <p>Thanks</p>