MCPcopy Index your code
hub / github.com/PsChina/angularJS / copy

Function copy

2-gulp/demo/angular.js:1004–1147  ·  view source on GitHub ↗

* @ngdoc function * @name angular.copy * @module ng * @kind function * * @description * Creates a deep copy of `source`, which should be an object or an array. * * * If no destination is supplied, a copy of the object or array is created. * * If a destination is provided, all of its element

(source, destination, maxDepth)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

$CoreAnimateCssProviderFunction · 0.85
angular.jsFile · 0.85
$ParseProviderFunction · 0.85
$RootScopeProviderFunction · 0.85
parseOptionsExpressionFunction · 0.85

Calls 7

isValidObjectMaxDepthFunction · 0.85
isTypedArrayFunction · 0.85
isArrayFunction · 0.85
copyRecurseFunction · 0.85
copyElementFunction · 0.85
isArrayBufferFunction · 0.70
forEachFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…