Utility functions for manipulation with JavaScript Array objects.
These functions are exposed in two ways:
in angular expressions: the functions are bound to the Array objects and augment the Array
type as array methods. The names of these methods are prefixed with $
character to minimize
naming collisions. To call a method, invoke myArrayObject.$foo(params)
.
in JavaScript code: the functions don't augment the Array type and must be invoked as
functions of angular.Array
as angular.Array.foo(myArrayObject, params)
.