Open In App

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

$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

Article Tags :