Answer the question
In order to leave comments, you need to log in
How to make angularjs and multer friends without angular-file-upload?
Hello, how to transfer a file from angular without using third-party directives?
1. There is a form with text fields and a field with an image, I process the image like this, I display the result in base64 in the preview, and I want to transfer the file itself to multer - $scope.order.image
fileReader.readAsDataUrl($scope.file, $scope)
.then(function(result) {
$scope.order.image = $scope.file;
$scope.order.image_preview = result;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question