From 2d9c073ae10d4373aab2fa8a83ade118ea64df38 Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Wed, 18 Feb 2015 07:47:34 +0200 Subject: [PATCH] docs(limitToFilter): mark the `begin` param as optional --- src/ng/filter/limitTo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/filter/limitTo.js b/src/ng/filter/limitTo.js index 67ffc92c019b..02e227686ded 100644 --- a/src/ng/filter/limitTo.js +++ b/src/ng/filter/limitTo.js @@ -17,7 +17,7 @@ * If the number is negative, `limit` number of items from the end of the source array/string * are copied. The `limit` will be trimmed if it exceeds `array.length`. If `limit` is undefined, * the input will be returned unchanged. - * @param {string|number} begin Index at which to begin limitation. As a negative index, `begin` + * @param {(string|number)=} begin Index at which to begin limitation. As a negative index, `begin` * indicates an offset from the end of `input`. Defaults to `0`. * @returns {Array|string} A new sub-array or substring of length `limit` or less if input array * had less than `limit` elements.