Hi Jake,
Does it really get stuck, or is it just uploading a large file?
If I have (multiple) files I want to upload I usually use the browsers FormData
<https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData>helper.
and then feed it to $http like this. I believe I got this solution out of
this group a long time ago ;)
var payload = new FormData();
// put binary data in your payload here.
$http.post(postUrl, payload, {
headers: { 'Content-Type': undefined},
transformRequest: function(data) { return data; }
});
Is this what you where looking for?
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.