In my application I have like 10 directives that have own html template. In 
application run I would like to put all templates in cache and in 
directives method "template" I would like to retrieve correct template. I 
know I can do this by injecting $templateCache to each directive. But its 
really annoying that I have to do this for each directive. I come up with 
idea that I already have baseDirective for all directives and I just need a 
$templateCache instance without dependency injection.

Regards,
Qba

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to