UNPKG

knowhow-server

Version:

A personal workflow engine that can manage and use any network connected host

14 lines (13 loc) 1.01 kB
<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/ng/cpi.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Bad Copy</code> <div><span class="hint">error in component <code ng:non-bindable="">ng</code> </span> </div> </h1> <div><pre class="minerr-errmsg" error-display="Can't copy! Source and destination are identical.">Can't copy! Source and destination are identical.</pre> <h2 id="description">Description</h2> <div class="description"><div class="ng-page ng-cpi-page"><p>This error occurs when attempting to copy an object to itself. Calling <a href="api/angular.copy"><code>angular.copy</code></a> with a <code>destination</code> object deletes all of the elements or properties on <code>destination</code> before copying to it. Copying an object to itself is not supported. Make sure to check your calls to <code>angular.copy</code> and avoid copying objects or arrays to themselves.</p> </div></div> </div>