title: Angularjs checklist-model - disable unchecked boxes
body: <p>Hey superheroes of Stackoverflow. I am currently working on a checklist using angularjs and the checklist-model directive. I am trying to figure out how I can diable all the unchecked boxes when reaching x-amount of checked  boxes.</p>
  
  <p>I am fetching data from a json file, hence the reason for my checkboxes being in a ng-repeat.</p>
  
  <p>For now I am disabling all checkboxes. when reaching x-number of checked. Unfortunately the users should be able to change what has been chosen.</p>
  
  <pre><code>&lt;label ng-repeat="item in items | orderBy:item_position"&gt; 
  &lt;h3&gt;{{item.item_name}}&lt;/h3&gt;
  &lt;p&gt;{{item.item_position}}&lt;/p&gt;
  &lt;!--checkbox --&gt;
  &lt;input type="checkbox" ng-disabled="item.answers.length &gt;= 12" checklist-model="item.answers" checklist-value="player"&gt;
  </code></pre>