Skip to content
Related Articles

Related Articles

Web technologies Questions | AngularJS Quiz | Set-2 | Question 3

View Discussion
Improve Article
Save Article
  • Last Updated : 20 Sep, 2021

$dirty flag in Angular JS is used for?
(A) State that the form has invalid data.
(B) State that value has been changed.
(C) Both of the above.
(D) None of the above.


Answer: (A)

Explanation: The $dirty flag in Angular JS is used for the state that the form has invalid data. It also checks whether the Html form is dirty or after navigating the page user value is save or not.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!