angular/angular.js — pull request #6876 by lgalfaso (2014-03-27 15:45:58+00:00)
Title: fix(input): Allow ng-true-value and ng-required on a checkbox

Put the input[checkbox] formatter and parser first in the `$formatters` and `$parsers` queue so they are the first being called when formatting and the last when parsing. This allows the existing logic at `ng-required` (that uses `$isEmpty`) to work on the `ng-true-value` value

Closes #6875