title: Disable ng-options value dynamically
body: <p>I want to disable select option which is in loop. So far i have implemented in following link. Its working way I wanted but i have made code very long. Is there any other way to implement.</p>
  
  <p><a href="http://jsfiddle.net/0p4q3b3s/34/" rel="nofollow">Code Link</a></p>
  
  <pre><code>&lt;div ng-controller="OptionsController"&gt;
  &lt;button value="add" ng-click="add()"&gt;
  add
  &lt;/button&gt;
  &lt;div ng-repeat="val in v"&gt;
      &lt;select ng-model="val.myColor" ng-change="call(c.name)"&gt;
          &lt;option ng-repeat="c in colors" ng-disabled="c.shade=='dark'" value="{{c.name}}"&gt;
              {{c.name}}
          &lt;/option&gt;
      &lt;/select&gt;
  
  &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>