title: Setting ngTrueValue and ngFalseValue to numbers
body: <p><strong>Update</strong>: question is obsolete for latest Angular version, see tsh's comment on this post</p>
  
  <hr>
  
  <p>I have bound a checkbox to a value:</p>
  
  <pre><code>&lt;input type="checkbox" ng-model="checkbox" ng-true-value="1" ng-false-value="0" /&gt;
  </code></pre>
  
  <p>The value of the checkbox is set to 1 in the controller:</p>
  
  <pre><code>function Controller($scope) {
      $scope.checkbox = 1
  }
  </code></pre>
  
  <p>However, initially the checkbox does not appear checked. If I change the initial value of <code>$scope.checkbox</code> to <code>"1"</code>, it does. (<a href="http://jsfiddle.net/qHxww/" rel="noreferrer">jsfiddle demo</a>)</p>
  
  <p>I have tried all kinds of variations:</p>
  
  <pre><code>ng-true-value="{{1}}"
  ng-true-value="{{Number(1)}}"
  ng-true-value="{{parseInt('1')}}"
  </code></pre>
  
  <p>None of them work. How can I make angular treat the arguments as a number?</p>