Skip to content

Commit 834affe

Browse files
committed
Merge pull request danialfarid#444 from pra85/master
fileFormDataName was not shown with other parameters
2 parents c18b56e + e0117ae commit 834affe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ myApp.controller('MyCtrl') = [ '$scope', '$upload', function($scope, $upload) {
103103
//withCredentials: true,
104104
data: {myObj: $scope.myModelObj},
105105
file: file, // single file or a list of files. list is only for html5
106-
//fileName: 'doc.jpg' or ['1.jpg', '2.jpg', ...] // to modify the name of the file(s) //fileFormDataName: myFile, // file formData name ('Content-Disposition'), server side request form name
106+
//fileName: 'doc.jpg' or ['1.jpg', '2.jpg', ...] // to modify the name of the file(s)
107+
//fileFormDataName: myFile, // file formData name ('Content-Disposition'), server side request form name
107108
// could be a list of names for multiple files (html5). Default is 'file'
108109
//formDataAppender: function(formData, key, val){} // customize how data is added to the formData.
109110
// See #40#issuecomment-28612000 for sample code

0 commit comments

Comments
 (0)