Suppose I have the following
index.html
<div ng-controller="TestController">
.......
</div>
TestController.js
App.controller('TestController', ['$rootScope','$q','TestService', function($rootScope, $q, $TestService)
$scope.method1= function() {...}
$scope.method2= function() {...}
...
$scope.method10= function() {...}
Now, if I call any method it will work, but I would like to have 2 controllers and each of them contain 5 methods, if I had 100 methods in a single controller it is very difficult to maintain it, it can be done as a general controller and import the others?