You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I navigate from:
/artist/123
to:
/artist/124
Using:
$location.path('/artist/124');
The resolve gets the data again, which is good, the controller is created again, which is fine.
My problem is that the html is also replaced by the template. I'd like to keep the current html when I navigate to the same url pattern ('/:artist/:id'), only get the data with the resolve and update my views with the new data.
The view contains a canvas and a map that should not be reloaded, only updated manually. On a route such as the one above, the map should pan to a new location, this is why I want to avoid to reload the html.
Any idea how can I achieve this?
Romu
The text was updated successfully, but these errors were encountered:
I've got a screen containing both a google map and a canvas, I access it in the app with this URL:
"/artist/123"
Here is the config:
When I navigate from:
/artist/123
to:
/artist/124
Using:
$location.path('/artist/124');
The resolve gets the data again, which is good, the controller is created again, which is fine.
My problem is that the html is also replaced by the template. I'd like to keep the current html when I navigate to the same url pattern ('/:artist/:id'), only get the data with the resolve and update my views with the new data.
The view contains a canvas and a map that should not be reloaded, only updated manually. On a route such as the one above, the map should pan to a new location, this is why I want to avoid to reload the html.
Any idea how can I achieve this?
Romu
The text was updated successfully, but these errors were encountered: