Using sockets with AngularJS?  Here is a cool set of services you can use to start.