Chapter 5Build a Dynamic UI with AngularJS

We’ve seen some of what Postgres and Bootstrap can do, but our user interface is still fairly static. It’s now time to see what AngularJS is all about and how it can improve the experience for our users.

We’re going to rework our search feature so that the system searches as our users type, dynamically changing the results as they type out a user’s name. For example, if a user wants to find a customer named Bobby Smith, a search for just Bob may return more results than needed. The user would have to search again with a more refined query. If the results were visible while typing, the user could simply type Bobby and potentially get the desired record right away, without having to wait for the browser ...

Get Rails, Angular, Postgres, and Bootstrap now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.