Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f15f8df

Browse files
JanDalFlgalfaso
authored andcommitted
docs($httpProvider): typo fix
fix a typo: default.cache -> defaults.cache
1 parent e7662eb commit f15f8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function $HttpProvider() {
253253
*
254254
* - **`defaults.cache`** - {Object} - an object built with {@link ng.$cacheFactory `$cacheFactory`}
255255
* that will provide the cache for all requests who set their `cache` property to `true`.
256-
* If you set the `default.cache = false` then only requests that specify their own custom
256+
* If you set the `defaults.cache = false` then only requests that specify their own custom
257257
* cache object will be cached. See {@link $http#caching $http Caching} for more information.
258258
*
259259
* - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.

0 commit comments

Comments
 (0)