文件一:
angular.module('myApp.controllers', []);文件二:
angular.module('myApp.controllers').controller('Ctrl1', ['$scope', '$http', function($scope, $http){}]);文件三:
angular.module('myApp.controllers').controller('Ctrl2', ['$scope', '$http', function($scope, $http){}]);按该顺序包括。我推荐3个文件,因此模块声明是独立的。



