Created
May 31, 2017 14:09
-
-
Save gokman/bb692d7f3db2d09498abde84bbd9a389 to your computer and use it in GitHub Desktop.
angularjs - clear form data with model after save&update
This file contains hidden or 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
| userSaveForm.$setPristine(); | |
| $scope.userSaveFormData = {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment