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

Get Beginning AngularJS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.