Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 379 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 379 Bytes

or filter

AngularJS filter for OR conditional

Installation

Include the module orConditional. Example:

var demoApp = angular.module('demoApp', ['orConditional']);

Usage

Example:

ng-repeat="item in items | or: { myAttr: query, mySecondAttr: query }

Wait... what?

Yes, just that. If you have any doubt, please check the demo located in this repo.