i\'m trying to do a form with validations using angularjs and so far i did a good job. But when i commit my reset button all the fields reset except for the error messages i
Use this
Reset
In Controller
$scope.resetForm = function(){ $scope.userForm.$dirty = false; $scope.userForm.$pristine = true; $scope.userForm.$submitted = false; };
Its working for me