toddmotto / angularjs-styleguide

AngularJS styleguide for teams
https://ultimateangular.com
5.96k stars 700 forks source link

What about $templateCache? #100

Closed ClementParis016 closed 8 years ago

ClementParis016 commented 8 years ago

Since we are writing component's HTML in their respective JS definition file, is there any way we could still make use of Angular's $templateCache? Or is it something that is no more a good practice in 1.5.x and that should be avoided?

toddmotto commented 8 years ago

$templateCache is still a great tool to use (automated, through something like this: https://www.npmjs.com/package/gulp-angular-templatecache). I'll add it to the list :)