I have several modules with AngularJS
angular.module('modulo1', ['ngTable']);
angular.module('modulo2', ['ngTable']);
angular.module('modulo3', ['ngTable']);
window.app = angular.module("app", ['ngRoute','modulo1','modulo2','modulo3']);
And within each of the modules, I have several controllers / filters / services ...
Well, there are many files, for example:
<!-- Load app main script -->
<script src="app/app.js"></script>
<!-- Load services -->
<script src="app/services/placesExplorerService.js"></script>
<script src="app/services/placesPhotosService.js"></script>
<script src="app/services/placesDataService.js"></script>
<!-- Load controllers -->
<script src="app/controllers/placesPhotosController.js"></script>
<script src="app/controllers/placesExplorerController.js"></script>
<script src="app/controllers/userContextController.js"></script>
<script src="app/controllers/myPlacesController.js"></script>
<script src="app/controllers/navigationController.js"></script>
<script src="app/controllers/aboutController.js"></script>
<!-- Load custom filters -->
<script src="app/filters/placeNameCategoryFilter.js"></script>
<!-- Load custom directives -->
<script src="app/directives/fsUnique.js"></script>
Well, there are only a few, and if you had 10 modules and 20 controllers, there are 200 files to upload to ....
How could I solve this problem? Does angularJS have something to solve this problem? PS: Without using RequireJS, I opt for any other fw, less requirejs