Been finding how to clear form data with the use of angular and $setPristine Function but still no results always gives me an error saying $setPristine is not a function. Ca
You can set the form with the code below:
$scope.customerForm.$setPristine(); $scope.customerForm.$setUntouched(); $scope.CustDetails={};