Heys guys, I have the following question. We have got a comment system on every post we make with unique comment to this post like youtube for every video. We of course want the comments always to be up to date without refreshing the page. When loading the page we make a call to our API which then gives us all comments as JSON response. Then we just do a ngrepeat onto this response to load the comments. We have setup a interval to reload those comments from our api. Before saving the response to the scope we check if the json response is the same like the current json response which is already saved. But it seems to replace it always also when the content is the same. Furthermore which is more important we dont want that our user see that the comments where reloaded. Is there a nicer way to do this because they always see that the $scope.comments was replaced because the images blink once of course.
-- 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.
