title: Need to uncheck checkbox in list if condition exists
body: <p>I previously asked a related question:</p>
  
  <p><a href="https://stackoverflow.com/questions/37676419/checkbox-and-ng-change-need-to-uncheck-if-condition-exists">Checkbox and ng-change. Need to uncheck if condition exists</a></p>
  
  <p>This is fine for one checkbox but now I have a list:</p>
  
  <pre><code>&lt;tr ng-repeat="part in partstoorder"&gt;
      &lt;td&gt;
  
  &lt;input type="checkbox"
      ng-change="change(ordered, $index, part)"
      ng-true-value="1"
      ng-false-value="0"
      ng-model="ordered"
      ng-checked="checkedStatus"
      name="part-ordered"  /&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$scope.change = function(value, part_index, part) {
  
      var part_id = part.id,
          vehicle_id = part.vehicle_id,
          ordered_from_val = part.ordered_from;
  
  
      if (modal_hidden_event) {
          $scope.checkedStatus = false;
      }
  
  }
  </code></pre>
  
  <p>How would I go about only unchecking the current checkbox?</p>