I am using karma to run a directive test. I am using $templateCache in my
project. More specifically, I am using gulp-angular.
When I do console.log($templateCache.info());
I see LOG: Object{id: 'templates', size: 68}
That means there are 68 templates there, right?
But when I try go access a template by an ID that I think exists, it says
undefined.
Is there a way for me to get the list of ID's?
BTW, this is related to this issue. I can't figure this out yet:
https://github.com/Swiip/generator-gulp-angular/issues/546
--
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.