For the past two days, I've been encountering an error when attempting to upload files using AJAX with angularJS. The error occurs after selecting the file to upload, and it's a TypeError:
TypeError: Failed to execute 'append' on 'FormData': No function was found that matched the signature provided. at TypeError (native)
at upload (http://localhost:8888/angular-file-upload.min.js:2:1609)
at h.$scope.onFileSelect (http://localhost/UploadCtrl.js:31:29)
at http://localhost/angular.min.js:166:92
at http://localhost/angular-file-upload.min.js:2:1991
at http://localhost/angular.min.js:115:185
at e (http://localhost:8888/angular.min.js:33:421)
at http://localhost:8888/angular.min.js:37:77
Interestingly, if I switch to another browser like Firefox, Safari, Opera, or even IE, everything works fine.
Any assistance would be greatly appreciated. Thank you.