Deep copying objects in Angular
angular.copy() to deep copy objects and arrays.
Does Angular also have something like that?
You can also use:
if it's on your scope, it's in every Angular component, directive, etc. and it's also on every node environment.
Unless you have a circular reference, it should work and will effectively dissociate your variable reference to the original object.