angular/angular.js — pull request #7858 by airato (2014-06-16 21:14:39+00:00)
Title: fix(NgModel): use string representation of the value in the ngMinlength and ngMaxlength

Issue with nonstrings, like in master branch, see https://github.com/angular/angular.js/pull/7856

Example for v1.2.18 http://plnkr.co/edit/K2PraexZazCgCJqzfwTI?p=preview