O'Reilly logo

Beginning AngularJS by Andrew Grant

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 7

image

Services and Server Communication

In the last chapter, we looked at HTML forms as a means of presenting a user interface for gathering a set of user registration data. However, we didn’t look at the next step in the process, that is, sending that data along to a back-end server for processing. In this chapter, we will achieve this by using Angular services. As Angular services are about much more than sending data to servers, we will first look at them at a more general level.

The term service is rather overused in the development world, so what do we mean when we talk about Angular services? A good way to think about an Angular service ...

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