{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/1111","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1111/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1111/events","html_url":"https://github.com/Dogfalo/materialize/issues/1111","id":66717389,"number":1111,"title":"$scope.formName.$setPristine","user":{"login":"pradeepb6","id":6407736,"avatar_url":"https://avatars.githubusercontent.com/u/6407736?v=3","gravatar_id":"","url":"https://api.github.com/users/pradeepb6","html_url":"https://github.com/pradeepb6","followers_url":"https://api.github.com/users/pradeepb6/followers","following_url":"https://api.github.com/users/pradeepb6/following{/other_user}","gists_url":"https://api.github.com/users/pradeepb6/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepb6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepb6/subscriptions","organizations_url":"https://api.github.com/users/pradeepb6/orgs","repos_url":"https://api.github.com/users/pradeepb6/repos","events_url":"https://api.github.com/users/pradeepb6/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepb6/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T22:11:45Z","updated_at":"2015-04-06T22:29:21Z","closed_at":"2015-04-06T22:22:37Z","body":"Is there any way to reset the form after its get submitted? Some classes like \"valid\" from input tag and \"active\" from labels should be removed so that form looks to original state after form is submitted. as of now i am removing classes manually using jquery. "},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/90265167","html_url":"https://github.com/Dogfalo/materialize/issues/1111#issuecomment-90265167","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1111","id":90265167,"user":{"login":"pradeepb6","id":6407736,"avatar_url":"https://avatars.githubusercontent.com/u/6407736?v=3","gravatar_id":"","url":"https://api.github.com/users/pradeepb6","html_url":"https://github.com/pradeepb6","followers_url":"https://api.github.com/users/pradeepb6/followers","following_url":"https://api.github.com/users/pradeepb6/following{/other_user}","gists_url":"https://api.github.com/users/pradeepb6/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepb6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepb6/subscriptions","organizations_url":"https://api.github.com/users/pradeepb6/orgs","repos_url":"https://api.github.com/users/pradeepb6/repos","events_url":"https://api.github.com/users/pradeepb6/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepb6/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T22:29:21Z","updated_at":"2015-04-06T22:29:21Z","body":"I used reset but dint workout for me.  could you please check here: https://github.com/pradeepb6/firstExample/tree/master/app and let me know if i am doing wrong. file to be checked index.html and app.js. "}}