Is there anyone who can assist with the provided Plunker code?
All you need to do is submit the form with just one required field filled out. This action will result in validation errors being displayed. When you reset the form by calling both setPristine and setUntouched functions, none of the validation errors are cleared.
I would like the form to be reset with no data remaining and no validation messages shown. Even though the data is empty and technically invalid, I don't want any error messages to appear.
For example, this is the reset function:
$scope.reset = function(){
$scope.newQuestion = angular.copy(tempQuestion);
$scope.forms.setPristine();
$scope.forms.setUntouched();
};