Realtime chat on Node.js, Angularjs and MongoDB