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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -