Recap

Let's look at what we did in the previous building block. We achieved a simple listing of tasks within an encapsulated component by following these steps:

  1. We created the component TypeScript file that contains the logic of our component
  2. We created the component's view within a separate HTML file
  3. We included the component HTML element within our main application view template

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.