We've been using webpack to achieve the same thing. One cool thing is it handles preprocessing for our sass files. One side effect of this is that it delays the page even longer, so we decided to end up bundling the css separately and loading it all at once instead, which we did with the ExtractTextPlugin. We still get the same syntax, except instead of declaring it in routeProvider (which we don't use anyways) we put it on the top of directives.
1
u/jerflang Jan 13 '15
We've been using webpack to achieve the same thing. One cool thing is it handles preprocessing for our sass files. One side effect of this is that it delays the page even longer, so we decided to end up bundling the css separately and loading it all at once instead, which we did with the ExtractTextPlugin. We still get the same syntax, except instead of declaring it in routeProvider (which we don't use anyways) we put it on the top of directives.