title: ng-checked not updating first time
body: <p>I'm generating check boxes using ng-repeat, and their initial status can be checked or unchecked depending on if that information exists or not in the data. My problem is that altghough it shows their initial checked/unchecked status correctly, when I uncheck a box that has been 'pre-checked', the box physically unchecks but the model doesn't change. Then I check it again, and the model doesn't change but it's correct. Then I uncheck again, and it clears correctly in the model and works correctly from then on. I have been working on this problem for days and I'm totally stuck! Can anyone see if I'm doing something stupid? My feeling is that it's an initialisation problem but I'm too close to it to see now. Thanks!</p>
  
  <pre><code>&lt;!-- if this is a checkbox to be drawn --&gt;
  &lt;div ng-if="option.option_type=='checkbox'"&gt;
    &lt;label class="item-checkbox-right"&gt;
    {{option.caption}} 
     &lt;!-- handle multiple options --&gt;
  
    &lt;!-- if answered_options[n]weight exists, make option.ans = weight --&gt;&lt;/label&gt;
    &lt;ul ng-repeat="opti in questionpart.survey_answer[0].answered_options"&gt;
      &lt;li style="list-style: none; display: inline"&gt;
  
      &lt;!-- if option is set in the received data, set it in the model --&gt;
        &lt;div ng-if="opti.id == option.id"&gt;
          &lt;div ng-init="option.ans = option.weight"&gt;&lt;/div&gt;
        &lt;/div&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
    &lt;label class="item-checkbox-right"&gt;
        &lt;!-- show the checkbox and bind to option.ans--&gt;
        &lt;input class="checkbox-light" 
        type="checkbox" 
        name="{{questionpart.id}}" 
        ng-false-value="0" 
        ng-true-value="{{option.weight}}"
        ng-model="option.ans"
        ng-checked="option.ans==option.weight" /&gt;
    &lt;/label&gt;
  &lt;/div&gt;
  </code></pre>