title: How disable element list with a condition on angularJs?
body: <p>I need to disable element list inside a nav when certain parameter is equal to 'N', and enable it when it is equal to 'S'. This is my code</p>
  
  <pre><code>&lt;div class="slidebar-nav"&gt;
    &lt;nav class="navbar navbar-default" role="navigation"&gt;
      &lt;!-- Main Menu --&gt;
      &lt;div class="side-menu-container"&gt;
        &lt;ul class="nav navbar-nav"&gt;
          &lt;li ng-disabled="trxAbil.I9WSFONI == 'N'" 
              ng-class="{'current' : itemSelected === 'Gestione fondi'}"
              ui-sref="home.pag1.inquiryFondi({innescatoDaMenuLaterale: true})" 
              ng-click="onMenuSelection('Gestione fondi')"&gt;
            &lt;a&gt;&lt;span class="glyphicon glyphicon-edit"&gt;&lt;/span&gt; Gestione fondi&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="active" 
              ng-class="{'current' : itemSelected === 'Invio fondi'}"
              ui-sref="home.pag2" ng-click="onMenuSelection('Invio fondi')"&gt;
            &lt;a&gt;&lt;span class="glyphicon glyphicon-send"&gt;&lt;/span&gt; Invio fondi&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="active" 
              ng-class="{'current' : itemSelected === 'Sintesi fondi'}" 
              ui-sref="home.pag3" ng-click="onMenuSelection('Sintesi fondi')"&gt;
            &lt;a&gt;&lt;span class="glyphicon glyphicon-send"&gt;&lt;/span&gt; Sintesi fondi&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I try with <code>ng-disabled="trxAbil.I9WSFONI == 'N'"</code> but it doesn't work.
  Any ideas? Thank you in advance</p>