1
I need to create an object with the data of a form and do not know what to do with input type="file". Is there any ready-made, ng-model type directive, that recovers the file from an input type="file" with Angular Js?
1
I need to create an object with the data of a form and do not know what to do with input type="file". Is there any ready-made, ng-model type directive, that recovers the file from an input type="file" with Angular Js?
1
There is yes, see this directive: https://github.com/ghostbar/angular-file-model
There’s a preview here: http://plnkr.co/edit/0ZHCsR?p=preview
Browser other questions tagged javascript html5 angularjs
You are not signed in. Login or sign up in order to post.