SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix($resource): pass `options` when binding default params

`Resource.bind()`, which creates an new Resource class with the same propertiesexcept for the
additional bound default parameters, was not passing the original Resource class' `options`,
resulting in different behavior.
This commit fixes it by passing the `options` when creating the new Resource class.
G
Georgios Kalpakas committed
6eb4ffc085cc0fde19cbac2c3da227ff47d71e4e
Parent: b59bc0b