Angularjs is running my forms through the FormController (eg tracking pristine, dirty, etc). I don’t need this functionality; I’m sure it’s adding overhead to my $digests.
How can I shut it off?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
AFAIK there is no simple switch to turn off AngularJS validation. Actually most of the validation happens in the
NgModelControllerand input directives – basically code in the input.js file. So, to get rid of the built-in validation you would have to re-develop code from this file (plus some others, like select).Did you identify validation code as a performance bottleneck in your application?