The file
input type is missing from the ng-model directive, so you need to "roll your own" solution for file uploads with AngularJS.
Hi, I have seen the video tutorial and works fine, but furthermore i would like to save the images on the server (not only the name or path). How can i do this?
When accessing the files that were returned in both the function filesChanged
and the directive fileInput
, I noticed that I had to use
elm.files[0]
Does this represent a recent change? Thanks in advance!
angular-file-upload
was renamed to ng-file-upload
. Don't use nervgh/angular-file-upload
it's buggy as hell.