az-dynamic-filter

2.0.1 • Public • Published

az-dynamic-filter

Status: npm version npm downloads Build Status Code Coverage

az-dynamic-filter allows you to bind the name of a filter in your template to swap them out or allow someone to pass it in as an option to a directive. The possibilities are endless!

Usage:

Depend on the module

angular.module('yourModule', ['azDynamicFilter']);

Use it

Filter Name: <input ng-model="vm.filterName" />
Filter: <input ng-model="vm.filterParam" />
<div ng-repeat="thing in vm.things | azDynamicFilter:vm.filterName:vm.filterParam>{{thing}}</div>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    1
  • 2.0.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i az-dynamic-filter

Weekly Downloads

1

Version

2.0.1

License

MIT

Last publish

Collaborators

  • kentcdodds
  • themcmurder