Is there an upper bound on angular.copy? I have a somewhat complex object that I would like to copy and I am getting the Max call stack error.
it's likely you have circular references inside your own object. Below is an example of a case:
var objectA = {};
var objectB = {};
//circular references
objectA.property = objectB;
objectB.property = objectA;
$scope.object = {
propertyA : objectA,
propertyB: objectB
}
DEMO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With