diff --git a/src/Angular.js b/src/Angular.js index c3e326d756fe..4b992cb48983 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -978,6 +978,40 @@ function shallowCopy(src, dst) { * @param {*} o1 Object or value to compare. * @param {*} o2 Object or value to compare. * @returns {boolean} True if arguments are equal. + * @example + + +
+
+

User 1

Name: + Age: + + +

User 2

Name: + Age: + + +
+
+ +
+
User 1 = {{user1 | json}}
+
User 2 = {{user2 | json}}
+
{{result}}
+
+
+ +
+ */ function equals(o1, o2) { if (o1 === o2) return true;