W3cubDocs

/Angular.js 1.2

Improve this Doc View Source angular.extend

  1. function in module ng

Extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects.

Usage

angular.extend(dst, src);

Arguments

Param Type Details
dst Object

Destination object.

src Object

Source object(s).

Returns

Object

Reference to dst.

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.2.32/docs/api/ng/function/angular.extend