有没有一种简单的方法来保持查询参数在视图之间链接时Angular?
当我使用ngHref时,查询参数会丢失:
<a ng-href='OtherPage'>Other page</a>
我从这个网址http://localhost/Page.html#/?stat = 77698382导航到:http://localhost/Page.html#/OtherPage.
<a ng-click='redirectToOtherPage()'>Other page</a> $scope.redirectToOrderListPage = function() { $location.path('OtherPage'); };
有更多的声明方式吗?