diff --git a/src/Angular.js b/src/Angular.js index 740cd6911427..efb115265506 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -609,6 +609,42 @@ function isLeafNode (node) { * @param {(Object|Array)=} destination Destination into which the source is copied. If * provided, must be of the same type as `source`. * @returns {*} The copy or updated `destination`, if `destination` was specified. + * + * @example + + +
+
+ Name:
+ E-mail:
+ Gender: male + female
+ + +
+
form = {{user | json}}
+
master = {{master | json}}
+
+ + +
+
*/ function copy(source, destination){ if (isWindow(source) || isScope(source)) {