angular/angular.js — pull request #8979 by Narretz (2014-09-08 17:27:39+00:00)
Title: fix(input): make checkbox ngTrueValue work with required

Fixes #5164

The viewValue in a checkbox is always set to false (by default). Comparing to the trueValue is therefore incorrect.