I'm trying to concatenate JavaScript files written in AngularJS. While using Grunt concatenate to combine all files together, I meet lots of problems, since it does not take the module dependencies into account, and just combine strings. This is because some modules need to be loaded first, while others depending on that load later. But currently I have to add module declaration at the very first and modifies the result file by hand. Is there a tool like requireJS optimizer that will build the dependency map and then combine them into one file? What's the best practice in AngularJS?
-- 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.
