Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
7k views

Import excel in angular 7 and save into database using node js

I have a page to uploaded excel <div class="form-group"> <label>Select file to upload.</label> <input type="file" class="form-control" (change)="onFileChange($event);"...
rji rji's user avatar
  • 707
0 votes
0 answers
705 views

Angular2: Upload large file

I am using Angular2 and nodeJS (loopback) for my application. I want to upload a large file to my backend server as I have not tried much code for file uploading. So can someone help me with some ...
Varun Sukheja's user avatar
-1 votes
3 answers
4k views

How to upload file using Angular js, & store image path in mongodb

I have a form with text-fields & drop-downs. I am using Node.js , Angular js, Express, MongoDb. I want to post data along with image(s). I want to store image in folder, without any base/binary ...
mayank bisht's user avatar
1 vote
0 answers
617 views

Multer + ng-file-upload

I'm trying to upload some files from AngularJS to my Node.js server and I always get req.file undefined. This is my Angular upload (with ng-file-upload) CLIENT HTML <span ngf-select ngf-change="...
Sparw's user avatar
  • 2,753
0 votes
1 answer
508 views

Combining angular-file-upload and multer

I have big headache to combine angular file upload plugin with multer to make it fully SPA. I stucked on uploading multiple files through multer. This is how my multer options looks like: (node route....
Gorge's user avatar
  • 21
0 votes
2 answers
117 views

Injecting angularFileUpload not working

this sound like a simple question but i am a newbie with angular, basicly i want to use AngularFileUpload to upload images on my website, so i did this when i initialize my app: var app = angular....
user avatar
2 votes
0 answers
635 views

Pipe angular-file-upload request with image to Azure in node.js

I almost have this working. I use angular-file-upload (http://nervgh.github.io/pages/angular-file-upload/examples/image-preview/) to upload a file to nodejs server and I pipe it through to Azure. ...
Igor Vaschuk's user avatar
  • 2,933
1 vote
2 answers
1k views

Express 4: How do I send JSON object to view?

I've researched for the past few days and I cannot figure this one out. Goal: User uploads a text file using the angular-file-upload form, and multer saves the file to a temporary folder. The data ...
heiser's user avatar
  • 11
1 vote
1 answer
314 views

Get data back after posting files to gridfs with angular-file-upload

I post files from my controller, to my server, where gridfs writes them. After that, there is a writestream.on('close') where I can console.log the file._id to the terminal. How can I set a variable ...
carterw485's user avatar
1 vote
1 answer
1k views

How to display to the client an uploaded image?

I'm uploading an image using AngularJS to my NodeJS server. But I have no idea how to display the image back to the user. The upload works fine, I can see the image on the server, but then how do I ...
Elfayer's user avatar
  • 4,570
0 votes
1 answer
2k views

Image streamed from Mongo's Gridfs not displayed in browser

I am posting this issue here, I have been reading many related posts, but any of them helped me in making it work. The idea is pretty easy: I have a MEAN-based application in which is possible to ...
rconfalonieri's user avatar
0 votes
1 answer
369 views

angular-file-upload not adding file to the request

I'm using angular-file-upload to upload a picture to the server running Node and Express 4.0 and I'm having trouble getting to the file data on the erver. Here's the relevant code: <input type="...
I?igo Beitia's user avatar