Table of Contents:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name limitFromTo | |
* @by Sven Anders Robbestad, 2013 | |
* @license CC0 1.0 Universal (CC0 1.0) | |
* @description | |
* Limit From-To filter for AngularJS. | |
* Creates a new array or string containing only a specified number of elements with an extra | |
* parameter specifying the starting point.. | |
* The elements are taken from either the beginning or the end of the source array or string, as | |
* specified by the value and sign (positive or negative) of `limit`. |