SignalR integration with AngularJS