bower install ng-pourover;
node example/server.js(if necessary after
NYTimes' PourOver module allows for quick filtering and sorting.
example we are filtering within ~10 milliseconds a 100,000 collection.
Getting started with
ngPourOver is fairly straightforward – you first need to add the dependency
PourOver into your controller.
You then have everything you need to initialise your collection – assuming your collection is currently stored in the
$scopecollection = collection;
If you attempt the aforementioned without adding the
poCollection filter – the work-horse of the
ngPourOver module, then things won't be pretty. Ensure you've added the
poCollection to your template.
Logically the next step is to define your first filter on a property – let's say you have a property called
name defined in your collection.
Afterwards you're able to begin filtering on this property.
You're even able to unfilter all with the
unfilter method, and unfilter a specific filter with
Please open a pull request for all commits, and ensure all tests are passing before opening your PR.
Every developer's dream: