From 7d545cbf68c734ea3066924c33fa0374b92f74ca Mon Sep 17 00:00:00 2001 From: Danial Farid Date: Mon, 21 Jul 2014 14:39:39 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6236391..482a0328 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ var MyCtrl = [ '$scope', '$upload', function($scope, $upload) { //fileName: 'doc.jpg' or ['1.jpg', '2.jpg', ...] // to modify the name of the file(s) // customize file formData name ('Content-Desposition'), server side file variable name. //fileFormDataName: myFile, //or a list of names for multiple files (html5). Default is 'file' - // customize how data is added to formData. See #40#issuecomment-28612000 for sample code + // customize how data is added to formData. See #40#issuecomment-28612000 for sample code //formDataAppender: function(formData, key, val){} }).progress(function(evt) { console.log('percent: ' + parseInt(100.0 * evt.loaded / evt.total)); From 47ba4bd4f8e259aa7ae7f422ce980fd6d5619508 Mon Sep 17 00:00:00 2001 From: Danial Farid Date: Mon, 21 Jul 2014 14:40:02 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 482a0328..3a992e05 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ var MyCtrl = [ '$scope', '$upload', function($scope, $upload) { data: {myObj: $scope.myModelObj}, file: file, // or list of files ($files) for html5 only //fileName: 'doc.jpg' or ['1.jpg', '2.jpg', ...] // to modify the name of the file(s) - // customize file formData name ('Content-Desposition'), server side file variable name. + // customize file formData name ('Content-Desposition'), server side file variable name. //fileFormDataName: myFile, //or a list of names for multiple files (html5). Default is 'file' - // customize how data is added to formData. See #40#issuecomment-28612000 for sample code + // customize how data is added to formData. See #40#issuecomment-28612000 for sample code //formDataAppender: function(formData, key, val){} }).progress(function(evt) { console.log('percent: ' + parseInt(100.0 * evt.loaded / evt.total));