Hi Eric, Spiros,
Let me try to clear up something. In the document a module consists out of several files. One of those files is the module definition file. In this file you define the module itself, its dependencies, the configuration. In some cases you might even include the module specific routing in this file. The controller(s), services, templates, test, and directives are all in their own separate files. All of this sits in it own sub-folder. Hooking this up in the right order is a task for the tooling, or the manual inclusion of the files. Most of the tools use node-glob, that in turn depends on mini-match. <https://github.com/isaacs/minimatch> This means that you can declare order in your tooling by using a glob like this ['src/app_main.js', 'src/**/*_main.js', 'src/**/*.js', '!src/components/**/*.js'] for your concat or ugglify task will make sure it is hooked up in the right order. Is this clarifying stuff up for you? I’m happy to answer any follow-up questions! Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
