.controller('CityCtrl', function ($scope, $location,$ionicModal) {
注入location服务
$scope.name = $location.search().name;
赋值