angular/angular.js — pull request #7968 by caitp (2014-06-24 13:17:43+00:00)
Title: fix(input): validate minlength/maxlength for non-string values

Use viewValue for minlength/maxlength validation if model value is not a
string. This allows ngMinlength and ngMaxlength to be used for number inputs.

Closes #7967