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
My form is inside another scope so my solution need to use $$postDigest
$scope.$$postDigest(function() { $scope.form.$error = {}; });