Hi!
On Mon, Nov 12, 2012 at 8:32 PM, <
leeh...@gmail.com> wrote:
> when partial templates are rendered, are they automatically cached in
> templateCache?
Technically speaking those are added to the cache as soon as
downloading completes.
> is there an example of how to explicitly remove a partial
> template from the template cache?
This SO thread has more info and an example of adding things to the
$templateCache:
http://stackoverflow.com/a/12346901/1418796
Removing would be similar, that is, you need to grab a reference to
the $templateCache and call remove or removeAll on it.
More info here:
http://docs.angularjs.org/api/ng.$cacheFactory
> how do i know what key to specify?
The key is simply a URL of your template.
Hope this helps,
Pawel