Integrates AngularJS and socket.io