miickel / gulp-angular-templatecache

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

error when adding the script to html #112

Closed amirtgm closed 8 years ago

amirtgm commented 8 years ago

Error: $injector:nomod Module Unavailable Module 'checkoutViews' 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.

but when i added [] to its own angular.module angular.module('template',[]) it fixed !

where is the problem ??

amirtgm commented 8 years ago

just adding the standalone parameter to the calling function