title: AngularJS: Initial checkbox value not in model
body: <p>I have got a form with a checkbox like this:</p>
  
  <pre><code>&lt;input type="checkbox" name="publish" id="publish" ng-model="data.publish" ng-true-value="Yes" ng-false-value="No"/&gt;
  </code></pre>
  
  <p>Now I would like to have its initial value <code>'No'</code> (becuase it is unchecked) bound to the model without having to click on the checkbox. Is there a way besides setting the model value manually in the controller or using <code>ngInit</code>?</p>
  
  <p>My script should work with different forms so manually setting model variables is no option. And the <code>ngInit</code> method seems rather inelegant.</p>