Chapter 5: Structure an Angular App

We have reached a point in our journey where we can successfully develop more complex applications by nesting components within other components, in a sort of component tree. However, bundling all our business logic into a single component is not the way to go. Our application might become unmaintainable very soon. Later in this chapter, we'll investigate the advantages that Angular's dependency management mechanism can bring to the game to overcome such problems.

In this chapter, we will learn how to build application architectures based on trees of components and organize them into modules. We will also learn about the new Angular dependency injection mechanism, which helps us to declare and consume our ...

Get Learning Angular - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.