node.js based polling app using angularJS, mongoDB