diff options
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/apis.js b/src/apis.js index 250aec84..65070505 100644 --- a/src/apis.js +++ b/src/apis.js @@ -11,6 +11,26 @@ var angularGlobal = { } }; + +/** + * @workInProgress + * @ngdoc overview + * @name angular.Object + * @function + * + * @description + * Utility functions for manipulation with JavaScript objects. + * + * These functions are exposed in two ways: + * + * - **in angular expressions**: the functions are bound to all objects and augment the Object + * type. The names of these methods are prefixed with `$` character to minimize naming collisions. + * To call a method, invoke the function without the first argument, e.g, `myObject.$foo(param2)`. + * + * - **in JavaScript code**: the functions don't augment the Object type and must be invoked as + * functions of `angular.Object` as `angular.Object.foo(myObject, param2)`. + * + */ var angularCollection = { 'copy': copy, 'size': size, |
