$setDirty();
Sets the control to its dirty state.
This method can be called to remove the ng-pristine
class and set the control to its dirty state (ng-dirty
class). A model is considered to be dirty when the control has been changed from when first compiled.
Please login to continue.