Created
July 7, 2014 10:03
-
-
Save piyuesh23/ef639c202c160f63ffea to your computer and use it in GitHub Desktop.
Clear form on Angular end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Using Form inside a controller ### | |
$scope.formName.$setPristine() | |
### Including a form using ng-include ### | |
this.formName.$setPristine() | |
### Resetting data being set using ng-modal### | |
$scope.modal = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment