Re: [AngularJS] File uploads...

2014-04-29 Thread Billy Figueroa
Hey Jose thanks. I will bookmark these 2. Anyone else got anything? On Monday, April 28, 2014 9:57:41 PM UTC-4, Jose Luis Rivas wrote: ng-model does not work for input(type=file) by default. I made this angular directive for it: https://github.com/ghostbar/angular-file-model (There's

[AngularJS] File uploads...

2014-04-28 Thread Billy Figueroa
Hey fellas, So I already had this previously working when using normal form submission but when I switched this code over to angularjs the files selected are not being picked up. Here is my html form class=form-horizontal enctype=multipart/form-data ng-submit=update()

Re: [AngularJS] File uploads...

2014-04-28 Thread Jose Luis Rivas
ng-model does not work for input(type=file) by default. I made this angular directive for it: https://github.com/ghostbar/angular-file-model (There's this factory too for uploading with easy ways to put new names to files and stuff which is compatible with angular-file-model as well