Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6aa4c commit ebbc224Copy full SHA for ebbc224
src/ngResource/resource.js
@@ -286,7 +286,7 @@ angular.module('ngResource', ['ng']).
286
params = params || {};
287
forEach(this.urlParams, function(_, urlParam){
288
val = params.hasOwnProperty(urlParam) ? params[urlParam] : self.defaults[urlParam];
289
- if (isDefined(val) && val !== null) {
+ if (angular.isDefined(val) && val !== null) {
290
encodedVal = encodeUriSegment(val);
291
url = url.replace(new RegExp(":" + urlParam + "(\\W)", "g"), encodedVal + "$1");
292
} else {
0 commit comments