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.
I've got a service that acts as a model. In order not to expose the internal variable that holds data and make it by mistake modifiable by reference, when I return it, I do a angular.copy.
If the internal variable contains only primitives, that's fine. But if it contains also objects, it's not (I get 10 digest error).