title: Exclusive options in AngularJS
body: <p>I have a list of checkbox and one of checkbox has value ALL. Whenever ALL is checked then the others of checkbox will be disabled and unchecked (value is empty). How should I do this in AngularJS? A list of checkbox is generated by using a loop over a data list as following:</p>
  
  <pre><code>&lt;div ng-repeat="item in moduleService.elements"&gt;
      &lt;input type="checkbox"&gt;{{item.value}}
  &lt;/div&gt;
  </code></pre>