Hi Brian,

I switched to gulp quite some time ago, so I’m not sure that what I’m about 
to say will work for grunt, but I believe it does. they both use glob’s 
right?

I build my apps out of 100s of small files all scattered in a tree that 
makes it easy for me to find stuff. I believe there is nice blog post from 
Ben Nadel on this.
The only things you want to put in front are your files that hold your 
angular.module('xx',[deps]) function. Make sure you put an prefix or suffix 
on those files.

then define your globs like this:
['/mainStartModule.js', '/**/*-main.js', '/**/*.js']

that will make sure they are concatenated(or whatever you fancy) into the 
right order. (Oh I'm typing this on the go, so the syntax might not be 
entirely right...)

Does that help you a bit?

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.

Reply via email to