I implemented file uploading. Front-end code is taken from popular tutorial. I send POST in service:
myApp.service(\'fileUpload\', [\'$http
You can get the file from req.files and save it with fs.writeFile.
fs.readFile(req.files.formInput.path, function (err, data) { fs.writeFile(newPath, data, function (err) { if (err) { throw err; } console.log("File Uploaded"); }); });