A angular service that facilitates the building of predicates