mainApp
.controller('homeController',
function($scope, $http, $timeout, $compile, $rootScope, $routeParams, $location, $route) {
//code goes here
}
);
mainApp.controller('ReportsController',
function($scope, $http, $rootScope) {
//another controller code goes here
}
);
我将在reportsController页面重新加载时调用reportsController中的homeController,我该如何调用它?