1. Configure the parameter operation in the route
2. Bring the parameters when page A jumps
$scope.goPage = function (op) { $state.go("app.productConfigadd",{"operation":op});//注入$state };
3. Page B gets the value of parameter operation
$stateParams.operation //注入$stateParams获取参数operation的值
The above is the detailed content of Detailed explanation of angular url parameter passing example. For more information, please follow other related articles on the PHP Chinese website!