AngularJS websockets example