Open In App

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

Like Article
Like
Save
Share
Report

$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


Last Updated : 20 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads