Summary

In this chapter, you learned a lot of new concepts on building UI component-based applications with Angular. We also built the core component of our task management application, which is the task list itself. You learned about the concept of input and output properties and how to use them to establish proper component communication.

We also covered the basics of the Angular component life cycle and how to use life cycle hooks to execute post-initialization steps within the OnInit hook.

As the last step, we integrated a toggle button list component within our task list to filter the task states. We refactored our task list component to use a service in order to obtain task data. For this, we used Angular's dependency injection.

Within ...

Get Mastering Angular Components 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.