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
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()
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