a8m / angular-filter

Bunch of useful filters for AngularJS (with no external dependencies!)
https://github.com/a8m/angular-filter
MIT License
2.93k stars 332 forks source link

Where filter - Error: object is null #225

Closed danielbair closed 7 years ago

danielbair commented 8 years ago

Trying to do... var cycles = $filter('where')(obj,{cycle_start: 'true'});

But getting... Error: object is null

a8m commented 7 years ago

Hey @danielbair Sorry for the late response. I don't see any issue with that. here's a jsbin follows your example. Feel free to open the issue if you still have any trouble with angular-filter.