angular/angular.js — pull request #8205 by ssergio83 (2014-07-15 14:45:43+00:00)
Title: fix(input): make maxlength and minlength work with non-string values

Validity for inputs with maxlength attribute and an underlying non-string model value is always false: e.g. the length property for a numeric data type returns undefined