added $scope.$apply to sync PubNub callbacks inside of Angular's binding system