{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/12","labels_url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/12/comments","events_url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/12/events","html_url":"https://github.com/danialfarid/angular-file-upload/issues/12","id":19797194,"number":12,"title":"Reset input file ","user":{"login":"alegrm","id":655140,"avatar_url":"https://avatars.githubusercontent.com/u/655140?v=3","gravatar_id":"","url":"https://api.github.com/users/alegrm","html_url":"https://github.com/alegrm","followers_url":"https://api.github.com/users/alegrm/followers","following_url":"https://api.github.com/users/alegrm/following{/other_user}","gists_url":"https://api.github.com/users/alegrm/gists{/gist_id}","starred_url":"https://api.github.com/users/alegrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alegrm/subscriptions","organizations_url":"https://api.github.com/users/alegrm/orgs","repos_url":"https://api.github.com/users/alegrm/repos","events_url":"https://api.github.com/users/alegrm/events{/privacy}","received_events_url":"https://api.github.com/users/alegrm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danialfarid/angular-file-upload/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2013-09-20T06:35:39Z","updated_at":"2015-01-20T00:52:57Z","closed_at":null,"body":"Hi, how I can reset the values of the file? After a successful action done after upload I'd like to clean the form to reuse it. I tried $scope.myform.fileName, but its undefined. Thanks."},"comment":{"url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/comments/70587061","html_url":"https://github.com/danialfarid/angular-file-upload/issues/12#issuecomment-70587061","issue_url":"https://api.github.com/repos/danialfarid/angular-file-upload/issues/12","id":70587061,"user":{"login":"danialfarid","id":1676054,"avatar_url":"https://avatars.githubusercontent.com/u/1676054?v=3","gravatar_id":"","url":"https://api.github.com/users/danialfarid","html_url":"https://github.com/danialfarid","followers_url":"https://api.github.com/users/danialfarid/followers","following_url":"https://api.github.com/users/danialfarid/following{/other_user}","gists_url":"https://api.github.com/users/danialfarid/gists{/gist_id}","starred_url":"https://api.github.com/users/danialfarid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danialfarid/subscriptions","organizations_url":"https://api.github.com/users/danialfarid/orgs","repos_url":"https://api.github.com/users/danialfarid/repos","events_url":"https://api.github.com/users/danialfarid/events{/privacy}","received_events_url":"https://api.github.com/users/danialfarid/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T00:52:57Z","updated_at":"2015-01-20T00:52:57Z","body":"Clone the input file element and replace it. This is just to set it's value to null. It doesn't make sense to set it's value to anything other than null."}}