Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

File upload support #1445

Closed
coli opened this issue Oct 8, 2012 · 2 comments
Closed

File upload support #1445

coli opened this issue Oct 8, 2012 · 2 comments

Comments

@coli
Copy link

coli commented Oct 8, 2012

file input could bind the element or the files array into a model

And $http can use FormData to do a form post that support file upload.

Eg

<input type="file" ng-model="data.file">

$http({
  type:"formPOST", 
  data: data
});
@kstep
Copy link
Contributor

kstep commented Oct 9, 2012

I second this request, but personally prefer XHR file uploads with file-uploader + my custom directive.

@pkozlowski-opensource
Copy link
Member

@coli this sounds like a duplicate of #1375, right?
Closing this one, please reopen if you had sth else on your mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants