title: AngularJS - ng-disabled is not disabling my element
body: <p>I´m trying to hide an option if the condition exists, but the option is still there.</p>
  <p>Here is my code:</p>
  <pre><code>&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;menuitem&quot; tabindex=&quot;-1&quot; ng-disabled=&quot;disAplicar&quot; ng-if=&quot;!hideBtnAplicar&quot; ng-click=&quot;existenciaCero()&quot;&gt;Aplicar Existencia Cero&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  <p>And my JS is:</p>
  <pre><code>$scope.disAplicar = $scope.datos.tipo == 'informativo' ? true : false;
  </code></pre>
  <p>Could you help me to find which the error is?</p>
  <p>Thanks in advance.</p>