How to dynamically add hub to SignalR and have different scopes
I’m attempting to build a Dashboard with widgets (built as directives). I’d like to at a later stage have the ability to dynamically add widgets, but I’d only like the active widgets (and hubs) to receive data, thus if a widget isn’t active i don’t want the hub to be registered.