Handy AngularJS factory for SignalR Hubs