angular/angular.js — pull request #601 by kstep (2011-10-17 23:22:20+00:00)
Title: Length-based validation + "password" is correct input field type

First I added missing validation method based on field length. I use "minlength" and "maxlength" 's attributes to set min and max value length, and set input.$error.MINLENGTH and input.$error.MAXLENGTH in case field's value is too short/long.

The second commit a fix: kept converted to by angular.js, which made it effectively useless for forms handling. I added "password" type to the list of correct HTML5 input types