Wrapper around socket.io library for AngularJS.