Angular service for managing Sails socket.io connections