So far, our application is entirely in the frontend and is, therefore, pretty useless. We need somewhere to store our contacts so that we can fetch them later on. In order to do this, we're going to connect to a server, which is going to house a RESTful API that serves up JSON.
Angular opens up a few different ways we can connect to the server. In this chapter, we're going to take a look at a couple of the solutions as well as touch on some alternatives for you to investigate further.
I'm not going to show you how to build the server-side aspect here, as that's outside of the scope of the book. However, it is included in the downloadable assets that accompany the book.
Here's what we'll be covering in this chapter: ...