Integrating the projects dashboard

We've created our initial projects dashboard components, and will now work on their integration into our application. We're going to need a new container component, which we'll also expose within the router configuration. We also need to update the navigation component of our application, in order to show a new navigation link to the dashboard view.

Let's start with our new container component and use the Angular CLI tool to create the stubs for it:

ng generate component --spec false -ve none -cd onpush container/projects-dashboard-container

Open up the generated component class, located in src/app/container/projects-dashboard-container/projects-dashboard-container.component.ts, and replace its content with ...

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.