ericclemmons / grunt-angular-templates

Grunt build task to concatenate & pre-load your AngularJS templates
MIT License
710 stars 107 forks source link

How to specify module name #73

Closed sebastianzillessen closed 10 years ago

sebastianzillessen commented 10 years ago

The default script looks like:

angular.module('app').run(['$templateCache', function($templateCache) {
   ...
});

Is there some possibility to rename the module name to something else?

I know that I could include this to my app as dependency, but I like to rename it.

Thanks!

ericclemmons commented 10 years ago

Does this work?

https://github.com/ericclemmons/grunt-angular-templates#module

sebastianzillessen commented 10 years ago

Yes! Perfect, sorry! Seems like I over-read that!