In the angular-seed-project the filters, services, and directives are placed in different modules. Why? Why not stick them all under the myApp
module?
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives'])
Quoting from [1]
"...we recommend that you break your application to multiple modules like this:
The reason for this breakup is that in your tests, it is often necessary to ignore the initialization code, which tends to be difficult to test. By putting it into a separate module it can be easily ignored in tests. The tests can also be more focused by only loading the modules that are relevant to tests.
The above is only a suggestion, so feel free to tailor it to your needs."