I managed to solve this issue using the Resolve 
guard: http://plnkr.co/edit/8l2GwRzhcVKF4xUea55o?p=preview

On Saturday, August 20, 2016 at 8:45:10 PM UTC+2, will wrote:
>
> I have a route which gets a parameter, updates a service and the content 
> of the page. However, every time I change the route, it reloads the content 
> (even when the data doesn't change): 
> http://plnkr.co/edit/QGqdw4roSYKIoTuyANSd?p=preview
>
> It was working fine while I was using ROUTER_DIRECTIVES: 
> http://plnkr.co/edit/ZITXyhXAmWWk2hor13ea?p=preview
>
> However, I've upgraded to the new RouterModule and I'm getting that 
> blinking content when the route changes. Any ideas about how to solve this?
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to