$cacheFactory Documentation Example

Request Type: docs

How to reproduce: 

Component(s): misc core

Impact: small

Complexity: small

This issue is related to: 

**Detailed Description:**

Updated the $cacheFactory documentation to include a working example.

**Other Comments:**