SignalR encapsulated in a service, using ng.emit to expose events