a simple chat with nodejs and angularjs