Next: Sending Changes Back to the Server

In this chapter, you learned how to use angular-resource to easily fetch data from our Rails app (as well as a third-party payment processor), and to display it to the user as it became available using promises. But viewing data is only part of what you need to learn.

In the next chapter, we’ll add the functionality to let the user edit some of the data and have it sent back to the server and updated automatically. You’ll learn more about Angular’s bindings and see how to handle the disparity between our materialized view of a customer’s details and the actual database model that backs it.

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.