diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index c20207a44143..e298727ea7f9 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -165,9 +165,9 @@ function shallowClearAndCopy(src, dst) { * an object and serializes to using `angular.toJson`. To prevent this behavior, set * `transformRequest` to an empty array: `transformRequest: []` * - **`transformResponse`** – - * `{function(data, headersGetter)|Array.}` – + * `{function(data, headersGetter, status)|Array.}` – * transform function or an array of such functions. The transform function takes the http - * response body and headers and returns its transformed (typically deserialized) version. + * response body, headers and status and returns its transformed (typically deserialized) version. * By default, transformResponse will contain one function that checks if the response looks * like a JSON string and deserializes it using `angular.fromJson`. To prevent this behavior, * set `transformResponse` to an empty array: `transformResponse: []`