Chapter 6Build a Dynamic UI with Angular

You’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 Angular is all about and how it can improve the experience for our users.

In this chapter you’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 Patricia Smith, a search for just Pat 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 keep typing Patricia and potentially get the desired record right away, without having ...

Get Rails, Angular, Postgres, and Bootstrap, 2nd Edition 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.