using AngularJS and Socket.IO