.state('xxxx', {
url: 'xxxx',
templateUrl: 'xxx.html',
controller: 'xxxxController',
params: {isForOthers:null,xxxx:null }
//去哪个页面在那个页面上加
})
传递
$state.go('serviceConform', { isForOthers:"3333" });
接收:
$scope.xxxx = $stateParams.isForOthers;