I am trying to create a complete query builder with AngularJS only. I have seen http://redquerybuilder.appspot.com/ which is awesome but not with AngularJS and I would like to create in AngularJS.
Can you please advise if it is already available or the some help because query branching would be nested.
Maybe this is what you are looking for: http://niklr.github.io/angular-query-builder/
It is similar to the query builder of mfauveau but with additional features such as:
- Autocomplete based on selected options implemented with Bootstrap's typeahead plugin.
- Dynamic source fields based on selected source types.
- Dynamic comparison operators based on selected source field.
- Nested form validation.
- Configurable maximum for groups and conditions.
- Fancy enter and leave animations for groups and conditions.
Take a look at http://ngmodules.org/modules/angular-query-builder, this is a good starting point.
There is this: http://kindohm.com/blog/2013/09/25/knockout-query-builder.html
The guy seems to have switching blogging site so the link might stop working at some point.
来源:https://stackoverflow.com/questions/21278796/angularjs-query-builder-similar-to-http-redquerybuilder-appspot-com