ng-range-filter
v0.1.0
Published
AngularJS filter to generate a range of numeric values
Downloads
2
Readme
ng-range-filter
AngularJS filter to generate a range of numeric values
Installation
npm
npm i ng-range-filter --save
bower
bower i ng-range-filter --save
Usage
Generate values from 0 to 5
<div ng-repeat="n in [5] | range">{{n}}</div>
Generate values from 1 to 5
<div ng-repeat="n in [1, 5] | range">{{n}}</div>
Generate values from 5 to 1
<div ng-repeat="n in [5, 1] | range">{{n}}</div>
Tests
Single run
npm test
Development
npm run develop
Licence
MIT