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.
What is the expected behavior? angular.equals(a, angular.copy(a)) returns true
What is the motivation / use case for changing the behavior?
For me this is coming up when a user wants to edit a model. First I make a copy of the model so that any changes can be canceled. Then when the user tries to save their changes I compare the copy with the original to see if anything actually needs to be saved.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Tested with Angular 1.5 in Chrome
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
https://plnkr.co/edit/GWPdEXjZju6flBAUl4VW?p=preview
What is the expected behavior?
angular.equals(a, angular.copy(a))
returns trueWhat is the motivation / use case for changing the behavior?
For me this is coming up when a user wants to edit a model. First I make a copy of the model so that any changes can be canceled. Then when the user tries to save their changes I compare the copy with the original to see if anything actually needs to be saved.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Tested with Angular 1.5 in Chrome
The text was updated successfully, but these errors were encountered: