Thanks for your reply. I tried this option but  still same issue.

Here some thing strange is happening-  i opened app in one browser tab (say 
tab#1) and opened in another tab (say tab #2), now i create notification 
from tab#1 then tab#2 UI is getting reflected properly but in tab#1 its not 
working not. In the tab#1 browser console log i can see the notification 
received but view is not reflected. 

Flow ->  

A) UI (Angular) --------> B) Server -----> C) Comet Server----------> C) UI 

A to B flow - Creating NOTIFICATION which goes to server.
B to C flow -  At layer C# server read those notification and broadcast 
those notifications.
At Layer  #C -  All the subscriber receive notification.





On Friday, November 6, 2015 at 2:35:53 PM UTC+5:30, Sander Elias wrote:
>
> Hi ~,
>
> I'm not sure if this will solve it in your case, but can you try this?
>
> in stead of:
> $scope.notificationContent.data = notificationResponseData;
>
> try:
> $scope.notificationContent.data.length=0; //empty out existing array
> $scope.notificationContent.data.concat(notificationResponseData);
>
> That makes sure the same array is being reused. In your example the array 
> was recreated.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to