For my app I'm using browserify to deal with javascript, and it is indeed awesome. I can modularize, transpile coffeescript, bundle, preinitialize minification with ngmin, minify, add source maps etc.
I even was able to bundle all my html templates into one single javascript file using gulp-angular-templatecache
Now, I still need to find the best way to handle style files. (I'm using Stylus)
I've figured I can use insert-css and stylify, but I don't like the idea of injecting styles into javascript. They should be called from related html file, isn't that right?
Is there an easy way to grab all styles from html templates, resolve dependencies (some styles may be importing others) and correctly bundle them
into single or separate files, let's say if for some reason I'd like to bundle third-party styles - like bootstrap css separately.
If I find a nice way to do that, I can turn angular directives into truly reusable components - everything related to a directive would be contained in one folder (javascript, html, css)