Hi Adam May I ask what problems you are solving with RequireJS and putting each file in its own Angular module? Even 170 source files could be bundled, minimized, compressed, and loaded up front, don't you think? And why so many modules? I'm just being curious.
On Wednesday, 21 January 2015 01:03:26 UTC+1, Adam DiCarlo wrote: > > CJS support?! Sweet! I'd prefer returning the module itself; it at least > doesn't *feel *as kludgey as returning the name string. > > In the large app I work on (~170 Angular JS files), we're using RequireJS > and returning module names, and it's always rubbed me the wrong way. > > FWIW, in our app: > * We don't reopen a single Angular module. > * Each file is its own Angular module > * Files usually only define a single Angular service/directive/etc. (with, > of course, exceptions that are mostly from early development). > > Adam > -- 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.
