experimenting with a pattern for using signalR with angularjs