Updating URL in Angular JS without re-rendering view

前端 未结 9 1887
情书的邮戳
情书的邮戳 2020-12-04 08:33

I\'m building a dashboard system in AngularJS and I\'m running into an issue with setting the url via $location.path

In our dashboard, we have a bunch o

9条回答
  •  生来不讨喜
    2020-12-04 08:57

    You can set the reloadOnSearch property of $routeProvider to false.

    Possible duplicate question : Can you change a path without reloading the controller in AngularJS?

    Regards

提交回复
热议问题