这个问题在这里已经有了答案:CanoneAngularJScontrollercallanother?(14个答案)关闭9年前。如何使用其他Controller存储我在复选框中选择的项目?我的尝试(查看theplnkr的观点):script.js(Controller)varmyApp=angular.module('myApp',[]);myApp.factory('CooSelection',function(){return{selectedCoo:[]}})functionCooListCtrl($scope,CooSelection){$scope.coos={"Coos":