Recap

Within this section, we've not created anything new in the user interface of our application. However, it was still one of the more important sections of this chapter. We've learned about clean data flow, data and state best practices, and have created and integrated our first Angular service:

  1. We have created a task service to store and manipulate our task data
  2. We've delegated state manipulation from our task component to the task list component which was then interacting with our service
  3. We have learned about @Injectable and how to provide dependencies at the application level
  4. We've injected our task service in the constructor of our task list component where we use it to obtain data

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.