diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index a6befd5d3f9b..e58b0aecac40 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -706,7 +706,7 @@ angular.module('ngResource', ['ng']). return $q.reject(response); }); - promise.finally(function() { + promise['finally'](function() { value.$resolved = true; if (!isInstanceCall && cancellable) { value.$cancelRequest = angular.noop;