My application involve 2 pages - index.html , details.html . And 2 controllers - homeCtrlr , detailsCtrlr . The code in both of the controller had reached 1000 lines of code and might increase still . It looks like the following :
app.controller('detailsCtrlr',()=>{
$scope.method_1 = (){}
$scope.method_2 = (){}
...
$scope.method_n = (){}
});
It becomes more difficult to maintain and debug the code due to its large size . Is there any other way to place those methods as files ?