I faced a similar problem. The solution is to use formData var formData = new FormData(); formData.append("file", $scope.file); and replace data: { file: ...
確定! 回上一頁