angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

Support file upload

Open patcito opened this issue 14 years ago • 117 comments

Right now, we have to write our own directives to make angular upload files using html5's xhr. It would be nice if angular could do that automatically when there's a file input in a form.

patcito avatar Aug 07 '12 06:08 patcito

Yes, it would be great if it is possible.

pavlovt avatar Aug 07 '12 06:08 pavlovt

+1

javierpavon2000 avatar Aug 07 '12 12:08 javierpavon2000

+1 this would be helpful

ialtamirano avatar Aug 07 '12 15:08 ialtamirano

+1 This would be useful to me as well.

kamui avatar Aug 07 '12 17:08 kamui

+1 yes please :D

wintery avatar Aug 07 '12 20:08 wintery

+1

dylanz avatar Aug 13 '12 18:08 dylanz

+1

alexeygolev avatar Aug 13 '12 18:08 alexeygolev

+1

TomiMikola avatar Aug 31 '12 10:08 TomiMikola

+1

jmparraguez-haulmer avatar Sep 15 '12 21:09 jmparraguez-haulmer

Great! Who wants to help write the patch?

nateabele avatar Sep 16 '12 00:09 nateabele

Don't we first need FormData support for $http?

celmaun avatar Sep 16 '12 07:09 celmaun

+1

vlamic avatar Sep 17 '12 11:09 vlamic

+1

arselvam avatar Nov 16 '12 11:11 arselvam

+1

hparra avatar Nov 18 '12 02:11 hparra

+1

ghost avatar Nov 28 '12 21:11 ghost

+1

Would it be a good idea to expose $XHR as a service, instead of XHR being a function scoped variable as it currently is?

That way we could add event listeners to the instance.

jgrund avatar Nov 29 '12 16:11 jgrund

+1 thx

jurby avatar Dec 05 '12 10:12 jurby

+1

esteveavi avatar Dec 11 '12 15:12 esteveavi

+1

aozora avatar Dec 20 '12 10:12 aozora

+1

rsijaya avatar Jan 02 '13 09:01 rsijaya