used ES6 import/export/let, added more error checking/handling
used ES6 import/export/let, added more error checking/handling

iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap,iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap