O'Reilly logo

Learning Web Development with Bootstrap and AngularJS by Stephen Radford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Connecting to the Server

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required