AngularJS: Create custom filter injecting factory data