miickel / gulp-angular-templatecache

Concatenates and registers AngularJS templates in the $templateCache.
MIT License
524 stars 103 forks source link

Angular Arguments #143

Closed marshall-davis closed 7 years ago

marshall-davis commented 7 years ago

angular.module() requires two argument as according to the developer guide. Currently the TEMPLATE_HEADER variable only passes one.
This is causing the module to not load. The following error reaches the console:

Uncaught Error: [$injector:nomod] Module 'templates' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

miickel commented 7 years ago

see the standalone option in README.