Skip to content

Commit 4ef4a37

Browse files
committed
Update README.md
1 parent 43f139a commit 4ef4a37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ var MyCtrl = [ '$scope', '$upload', function($scope, $upload) {
6767
});
6868
//.error(...)
6969
//.then(success, error, progress);
70+
//.xhr(function(xhr){xhr.upload.addEventListener(...)})// access and attach any arbitrary event listener to XMLHttpRequest.
7071
}
7172
/* alternative way of uploading, send the file binary with the file's content-type.
7273
Could be used to upload files to CouchDB, imgur, etc... html5 FileReader is needed.

0 commit comments

Comments
 (0)