title: Angular ng-disabled with function
body: <p>I want to use disabled-ng with dynamic value returned from a function.</p>
  
  <p>I have tried several ways but it is not working.</p>
  
  <pre><code>&lt;textarea id="{{exercise.type}}" ng-disabled={{prova}}&gt;&lt;/textarea&gt;
  ......
  &lt;textarea id="{{exercise.type}}" ng-disabled=prova&gt;&lt;/textarea&gt;
  ......
  &lt;textarea id="{{exercise.type}}" ng-disabled=prova()&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>with this javascript function </p>
  
  <pre><code>$scope.prova=function(e){               
                 return true;
         };
  </code></pre>