refactored signalr to use angular plugin