How can I copy an object and lose its reference in Angular?
With AngularJS, I can use angular.copy(object), but I\'m getting some error using that in An
I needed this feature just form my app 'models' (raw backend data converted to objects). So I ended up using a combination of Object.create (create new object from specified prototype) and Object.assign (copy properties between objects). Need to handle the deep copy manually. I created a gist for this.