O'Reilly logo

Pro AngularJS by Adam Freeman

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 18

image

Working with Modules and Services

In this chapter, I recap the role that modules play in AngularJS and show you how to can use modules to organize the components in an application. I also introduce the service component, show you the different ways to create and use services, and briefly describe the many built-in services that AngularJS includes. I say briefly because I dive into the detail of the built-in services in the chapters that follow. Table 18-1 summarizes this chapter.

Table 18-1. Chapter Summary

Problem

Solution

Listing

Split an application into multiple files.

Extend an existing module or create a new one.

1–5 ...

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