Skip to content

matiasbeckerle/or-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.