how to upload the image in public folder and retrieve it in Angularjs MEAN STACK
i'm using angularjs i'm trying to do upload image operation. but i am not able to store image in my local path .and i want to store the image path into my db also i'm using mongodb upload image operation. but i am not able to store image and retrieve from in my local path .Anyone help how to do this functionality My code <html> <head> <script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> </head> <body ng-app = "myApp"> <div ng-controller = "myCtrl"> <input type="file" file-model="myFile"/> <button ng-click="uploadFile()">upload me</button> </div>