Update input.js

https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L1627