28Implementing Angular Services in Web Applications

One of the most fundamental components of Angular functionality is services. Services provide task-based functionality to applications. You can think of a service as a chunk of reusable code that performs one or more related tasks. Angular provides several built-in services and also allows you to create your own customized services.

This chapter introduces built-in Angular services. You will get a chance to see and implement some of the built-in services, such as http for web server communication, router for managing and changing the state of an application, and animate to provide animation capabilities.

Understanding Angular Services

The purpose of a service is to provide a concise bit ...

Get Node.js, MongoDB and Angular Web Development, 2nd Edition now with the O’Reilly learning platform.

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