i want to send multiple image data with textbox value to server side(PHP).i have done multiple image upload but i am not able to send my data to server side when submitting
you need to use the $http
service to send images to the server
$scope.save = function() {
var fd = new FormData();
fd.append('file', $scope.files);
$http.post('uploadUrl', fd, {
transformRequest: angular.identity,
headers: {
'Content-Type': undefined
}
})
.then(function(response) {})
.catch(function(response) {});
}