Socket.IO component for AngularJS