angular.module('push') .controller('IndustryFieldCtrl', function ($scope) { if($scope.app){ $scope.setStatusBar(0); } $scope.addListBack = function () { $scope.goback(); }; $scope.AuthorityList= [ {name: "高端装备"}, {name: "能源"}, {name: "新材料"}, {name: "高端装备"}, {name: "电子信息"}, {name: "机器人"}, {name: "医药"}, {name: "纺织"}, {name: "核电"}, {name: "汽车"} ]; $scope.chooseNewUndid = function (Authority, index) { $scope.AuthorityList[index].checked = !$scope.AuthorityList[index].checked; }; });