diff --git a/src/apis.js b/src/apis.js index e17447eb..cb2eaf43 100644 --- a/src/apis.js +++ b/src/apis.js @@ -46,6 +46,34 @@ var angularArray = { * @ngdoc function * @name angular.Array.indexOf * @function + * + * @description + * Determines the index of `value` in `array`. + * + * Note: this function is used to augment the Array type in angular expressions. See + * {@link angular.Array} for more info. + * + * @param {Array} array Array to search. + * @param {*} value Value to search for. + * @returns {number} The position of the element in `array`. The position is 0-based. `-1` is returned if the value can't be found. + * + * @example +
+