templateCache
The templateCache is a built-in service in AngularJS that stores compiled HTML templates. When you use directives like ngInclude or ngRepeat, or when you define templates for routes, AngularJS compiles these templates and stores them in the templateCache. This caching mechanism prevents the need to recompile the same templates repeatedly, significantly improving the performance of your application.
When a template is requested, AngularJS first checks the templateCache. If the template is found, it's used
The templateCache can also be accessed and manipulated directly by developers. You can pre-populate the cache