From 61951ba8a0530e2d0f9a952728071e44ebd372ce Mon Sep 17 00:00:00 2001 From: Keith Walsh Date: Wed, 15 Feb 2017 06:59:02 -0500 Subject: [PATCH] docs($resource): describe your change... Minor clarification in cache option. --- src/ngResource/resource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index 7505072c4fea..bb879b884903 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -174,7 +174,7 @@ function shallowClearAndCopy(src, dst) { * set `transformResponse` to an empty array: `transformResponse: []` * - **`cache`** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the * GET request, otherwise if a cache instance built with - * {@link ng.$cacheFactory $cacheFactory}, this cache will be used for + * {@link ng.$cacheFactory $cacheFactory} is supplied, this cache will be used for * caching. * - **`timeout`** – `{number}` – timeout in milliseconds.
* **Note:** In contrast to {@link ng.$http#usage $http.config}, {@link ng.$q promises} are