I know there are quite a few threads on this topic already, but unfortunately I didn\'t find my answer until now. I use angular.js with the example code from http://angular-js.i
You know, definitely it's not the best way to save image data on mongo. Instead you can save your image on any directory on your server and save only url of your file, like..
mongoose-model.js
avatar : {
type : String
}
and on your main script you should get
let avatar_url = '/path/to/uploads/' + req.body.data.image.file.name
something like this