AngularJS Sentence Builder similar to http://niklr.github.io/angular-query-builder/ : I need angularjs solution (plugin or any fiddle/codepen etc. workaround) which is similar to query builders as below(which are available in github)

http://niklr.github.io/angular-query-builder/

I should be able to form sentence with 

    operators: if, then, else, and, or, on
    fields: xyzproduct, etc..
    unit: quantity, value,..
    conditions: =, <, <=, >, >=, <>, between

finally i should be able to form a promotion or discount kind of thing.

Output: 

> (if xyzproduct quantity between 1 and 100) (then discount 10%) 

> (if xyzproduct value > 500) (then discount 20%)



