javascript - How to avoid reloading of controller while changing the parameter value of a route ? -
Say, I have a path: # / path / to / route /: dynamicParamter
now Whenever I click on the link in which the part is changing, the angle loads to the whole controller is there any way I can avoid it and just reload all the URL changes based on the URL to my controller Without changing?
If you use Dynamic Parameter
as a query string parameter Ready, you can use the $ route provider reloadOnSearch
to false. See.
In this case your dynamic parameter
should change only the quickstring parameter and the controller does not load.
To know when querying the string changes, the $ route # $ routeUpdate
event on.
Comments
Post a Comment