I am developing a web application using AngularJS. I have a problem. I need to use the $scope object to use the $setPristine() function: This way I
$scope
$setPristine()