title: AngularJS Checkbox not working
body: <p>I have a class called Case that contains a list of executionSteps. Each executionStep has a boolean property called enabled. I am trying to set in on the HTML side but it never gets updated on the JS side.
  HTML side</p>
  
  <pre><code>&lt;td&gt;
  &lt;input type="checkbox" 
    ng-checked="acase.executionSteps[0].enabled"
    ng-model="aa" ng-change="updateCaseExecutionStep('{{study.id}}','{{acase.id}}','{{acase.executionSteps[0].id}}','{{acase.executionSteps[0]}}')"/&gt;
  &lt;/td&gt;`
  </code></pre>
  
  <p>On the controller side I have the function
      updateCaseExecutionStep 
  defined as shown below</p>
  
  <pre><code>$scope.updateCaseExecutionStep = function(studyId,caseId,executionStepId,executionStep){  
      ...
      ...
  }
  </code></pre>
  
  <p>Problem is when I update my checkbox or even manually update the enabled property of the executionStep</p>
  
  <pre><code>$scope.updateCaseExecutionStep = function(studyId,caseId,executionStepId,executionStep){  
      executionStep.enabled = true;
      ...
  }
  </code></pre>
  
  <p>I don't see any change. The enabled property of executionStep passed in the JS does not change. Please help.</p>
  
  <p>Do I have to modify somehow on the The HTML side ?</p>