Chat client with AngularJS and Socket.IO