From 5acb959eea8e9acd6457bb521f1e93d0d0ce5bd3 Mon Sep 17 00:00:00 2001 From: tautvilas Date: Fri, 16 Oct 2015 11:54:16 +0300 Subject: [PATCH] feat($resource): pass isArray to http config This will allow to indentify request type in global interceptor. --- 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 b08341f1c88c..e15071a0d040 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -574,7 +574,7 @@ angular.module('ngResource', ['ng']). undefined; forEach(action, function(value, key) { - if (key != 'params' && key != 'isArray' && key != 'interceptor') { + if (key != 'params' && key != 'interceptor') { httpConfig[key] = copy(value); } });