angularjs has access to the websockets