Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular.copy does not support circular reference #2618

Closed
@langdonx

Description

@langdonx

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions