AngularJS Form Validation

AngularJS provides form validation using $invalid and $valid tag.These $invalid and $valid tags are Boolean in nature.In this Demo,"We will create button with 2 required input field. The submit button will be disabled and text color is red if form is invalid.Once the form is valid the submit button become active and color of the text green".If ng-disabled built-in directive takes the value from these flags and controls the submit button.Below code shows the demo code link in JSBIN.<!DOCTYPE...
 •  0 comments  •  flag
Share on Twitter
Published on September 08, 2014 09:36
No comments have been added yet.