1.

How To Validate Data In Angular Js?

Answer»

ANGULARJS enriches form FILLING and validation. We can use $dirty and $invalid FLAGS to do the validations in seamless way. Use novalidate with a form declaration to disable any BROWSER specific validation.
Following can be used to track error.
$dirty − states that value has been changed.
$invalid − states that value ENTERED is invalid.
$error − states the exact error.

AngularJS enriches form filling and validation. We can use $dirty and $invalid flags to do the validations in seamless way. Use novalidate with a form declaration to disable any browser specific validation.
Following can be used to track error.
$dirty − states that value has been changed.
$invalid − states that value entered is invalid.
$error − states the exact error.



Discussion

No Comment Found