
I first looked at this page at their source code below. Response: ' + resp.data) Ĭonsole.log('progress: ' + parseInt(100.0 * evt.loaded / evt.total) + '% file :'+ fell in the same trap as you (from your JSFiddle) trying to figure it out. and all other angular $http() options could be used here.Ĭonsole.log('file ' + .name + 'is uploaded successfully. ResumeChunkSize: 10000 or '10KB' or '10MB' // upload in chunks of specified sizeĭisableProgress: boolean // default false, experimental as hotfix for potential library conflicts with other plugins resolved to the upload file size on the server. Var app = angular.module('fileUpload', ) Īpp.controller('M圜trl', ['$scope', 'Upload', function ($scope, Upload) // function that returns a prommise which will be Javascript code: //inject directives and services. Upload multiple files in one request on file select (html5 only):įile Drag/Drop is not supported for this browser.Upload multiple files one by one on file select:.Upload with form submit and validations:.



For faster response provide steps to reproduce/versions with a jsfiddle link. Migration notes: version 3.0.x version 3.1.x version 3.2.x version 4.x.x version 5.x.x version 6.x.x version 6.2.x version 7.0.x version 7.2.x version 8.0.x version 9.0.x version 10.0.x version 11.0.x version 12.0.x version 12.1.x version 12.2.xĪsk questions on StackOverflow under the ng-file-upload tag.įor bug report or feature request please search through existing issues first then open a new one here. Lightweight Angular directive to upload files.
