angularjs 获取地址传参时间:2023-03-09 20:19:09 .controller('CityCtrl', function ($scope, $location,$ionicModal) { 注入location服务 $scope.name = $location.search().name; 赋值