added required notepad props, fixed code to use promises
added required notepad props, fixed code to use promises

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