File Uploads

InstructorJoe Maddalone

Share this video with your friends

Send Tweet

The file input type is missing from the ng-model directive, so you need to "roll your own" solution for file uploads with AngularJS.

Jose Iniesta
~ 9 years ago

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?

Christopher
~ 8 years ago

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!

Ashley Connor
~ 7 years ago

angular-file-upload was renamed to ng-file-upload. Don't use nervgh/angular-file-upload it's buggy as hell.