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
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
It would be nice to have an option on a route to only reload the view when path params change, much like reloadOnSearch only reloads the view when $location.search() changes.
E.g.: If route /foo/:id has reloadOnPathParams = false set, then moving from /foo/id1 to /foo/id2 would only broadcast a $routeUpdate event, and not reload the view and re-instanciate the controller.
The text was updated successfully, but these errors were encountered:
Enables users to specify that a particular route should not be reloaded after a
URL change (including a change in `$location.path()`), if the new URL maps to
the same route.
The default behavior is still to always load the matched route when any part of
the URL changes.
Related to angular#1699, angular#5860, angular#14999 (potentially closing the first two).
Fixesangular#7925
gkalpak
added a commit
to gkalpak/angular.js
that referenced
this issue
May 23, 2018
Enables users to specify that a particular route should not be reloaded after a
URL change (including a change in `$location.path()`), if the new URL maps to
the same route.
The default behavior is still to always load the matched route when any part of
the URL changes.
Related to angular#1699, angular#5860, angular#14999 (potentially closing the first two).
Fixesangular#7925
gkalpak
added a commit
to gkalpak/angular.js
that referenced
this issue
May 26, 2018
Enables users to specify that a particular route should not be reloaded after a
URL change (including a change in `$location.path()`), if the new URL maps to
the same route.
The default behavior is still to always load the matched route when any part of
the URL changes.
Related to angular#1699, angular#5860, angular#14999 (potentially closing the first two).
Fixesangular#7925
gkalpak
added a commit
to gkalpak/angular.js
that referenced
this issue
Jun 7, 2018
Enables users to specify that a particular route should not be reloaded after a
URL change (including a change in `$location.path()`), if the new URL maps to
the same route.
The default behavior is still to always load the matched route when any part of
the URL changes.
Related to angular#1699, angular#5860, angular#14999 (potentially closing the first two).
Fixesangular#7925
Enables users to specify that a particular route should not be reloaded after a
URL change (including a change in `$location.path()`), if the new URL maps to
the same route.
The default behavior is still to always load the matched route when any part of
the URL changes.
Related to #1699, #5860, #14999 (potentially closing the first two).
Fixes#7925Closes#15002
It would be nice to have an option on a route to only reload the view when path params change, much like
reloadOnSearch
only reloads the view when$location.search()
changes.E.g.: If route
/foo/:id
hasreloadOnPathParams = false
set, then moving from/foo/id1
to/foo/id2
would only broadcast a$routeUpdate
event, and not reload the view and re-instanciate the controller.The text was updated successfully, but these errors were encountered: