mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
Errors I've documented so far: - `$injector:cdep` - `$injector:itkn` - `$injector:modulerr` - `$injector:nomod` - `$injector:pget` - `$injector:unpr` - `ng:areq` - `ng:cpi` - `ng:cpws` - `ngModel:noass` Closes #3430
10 lines
No EOL
421 B
Text
10 lines
No EOL
421 B
Text
@ngdoc error
|
|
@name ng:cpi
|
|
@fullName Bad Copy
|
|
@description
|
|
|
|
This error occurs when attempting to copy an object to itself. Calling {@link
|
|
api/angular.copy angular.copy} with a `destination` object deletes
|
|
all of the elements or properties on `destination` before copying to it. Copying
|
|
an object to itself is not supported. Make sure to check your calls to
|
|
`angular.copy` and avoid copying objects or arrays to themselves. |