I am trying to create a chat application and wanted to display availability of users on UI. I am using SignalR and AngularJS.
But UI is not updating after I update members online property like below,
self.hubProxy.client.isAvailable = function (loggedinuser, isOnline) {
$scope.$apply(function () {
self.allMembers[loggedinuser].isOnline = isOnline;
});
I am using ng-repeat="member in allMembers" to bind with all members and using its isOnline property to apply a class.