You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
When performing angular.merge() on an object containing a $scope it fails with
"RangeError: Maximum call stack size exceeded"
.Merge() is attempting to deep copy the scope. Which just doesn't work. Angular.copy() states that copying states is not supported.
I was going to submit a PR but i'm not quite sure what the behavior should be. Should it just set a reference to the scope on the new object? (this is what I, as a user, would prefer) or skip it? Whatever it is I don't think it should throw an exception