Home Reference Source Repository
public class | since 0.3.2 | source

$TemplateCache

You can directly use instance of this class. $templateCache

Extends:

src/factories/$CacheFactory~$CacheFactory → $TemplateCache

$TemplateCache is a subclass wrapper around $CacheFactory. It creates a new cache abstraction specifically for templates.

It possesses the same methods as $CacheFactory with the acception that the get method will perform a lookup if not template is found and conditonally cache based on the cacheStaticAssets setting.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

get(url: *): *

Public Constructors

public constructor source

Public Methods

public get(url: *): * source

Params:

NameTypeAttributeDescription
url *

Return:

*