$location.path('/page1').search({id: $scope.id,name:$scope.name});
带参数跳转页面,在新的页面通过$routeParams接收参数
$scope.id=$routeParams.newNo;
$scope.name=$routeParams.lastBill;

另附官网中关于$location的api文档:https://code.angularjs.org/1.2.2/docs/api/ng.$location

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2022-03-06
猜你喜欢
  • 2021-09-30
  • 2021-07-05
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案