WebSockets AngularJS based Client application