angularjs - Angular form validation won't trigger -
i'm trying form validation on -url removed- trigger when submit , it's not. believe have things setup correctly missing something.
looks angularjs requires model bound on input use validation.
see http://jsfiddle.net/adamdbradley/qdk5m/
try removing ng-model="email", run, , you'll notice validation no longer works.
<input type="email" id="inputemail" placeholder="email" ng-model="email" required>
vs
<input type="email" id="inputemail" placeholder="email" required>
Comments
Post a Comment