As titled and demonstrated here: http://plnkr.co/edit/dRYPgyi9ITdaEFABJFBB?p=preview JSON.stringify/angular.copy both fail on circular references, while other implementations of clone do not. Also, is there some reason shallowCopy isn't exposed via publishExternalAPI like copy is?
As titled and demonstrated here:
http://plnkr.co/edit/dRYPgyi9ITdaEFABJFBB?p=preview
JSON.stringify/angular.copy both fail on circular references, while other implementations of clone do not.
Also, is there some reason shallowCopy isn't exposed via publishExternalAPI like copy is?