Rob Peck : Creating a simple predicate builder with AngularJS

  • Okay, so what we’ve done so far is stub out a simple AngularJS app, with a factory that builds a Condition object.
  • We only show the delete button if we have more than one condition because we don’t want to get into a situation where we have no conditions.
  • We also only show the add button on the last condition, using the magic variable $last , which is available inside the ng-repeat loop.

Read the full article, click here.


@codelemur: “New Blog Post: Creating a simple predicate builder with AngularJS”


So I’ve been working on a project recently where I needed a simple predicatebuilder. Basically I needed a way to allow users to build a somewhat complexsearch using a GUI….


Rob Peck : Creating a simple predicate builder with AngularJS

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.