docs($http): fix default $http cache name

The name of the cache is the string "$http", not the symbol itself.

Closes #14885
This commit is contained in:
Oliver Salzburg
2016-07-08 10:15:19 +02:00
committed by Georgios Kalpakas
parent a82a8a5210
commit c0f0d136f0
+1 -1
View File
@@ -629,7 +629,7 @@ function $HttpProvider() {
* * cache a specific response - set config.cache value to TRUE or to a cache object
*
* If caching is enabled, but neither the default cache nor config.cache are set to a cache object,
* then the default `$cacheFactory($http)` object is used.
* then the default `$cacheFactory("$http")` object is used.
*
* The default cache value can be set by updating the
* {@link ng.$http#defaults `$http.defaults.cache`} property or the