AngularJS app connected mongodb by websocket-node