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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -