Sockets module for angularjs