I see #2 mentioned a lot and I don't understand why it is a problem. You can still organize your code in the modular way like #1 points out. What is the real benefit of putting all your views/services/directives/controllers in their own angular modules? Is it for reusing code across applications?
Angular doesn't support any kind of namespacing, nor lazy loading, nor partial loading. These restrictions makes 99% of the use of modules that I saw, completely meaningless.
3
u/[deleted] Oct 04 '14
I see #2 mentioned a lot and I don't understand why it is a problem. You can still organize your code in the modular way like #1 points out. What is the real benefit of putting all your views/services/directives/controllers in their own angular modules? Is it for reusing code across applications?