Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 645 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 645 Bytes

Angular Routing Lab - 15 Minutes

This example provides a look at Angular routing and the role it plays loading components.

Exercise 1

  1. Open src/app/app.component.ts and complete the TODO to add <router-outlet>.

  2. Open src/app/app-routing.module.ts and complete the TODO tasks.

  3. Open src/app/app.module.ts and complete the TODO tasks.

  4. Open src/app/customers/customers.component.html and complete the TODO task.

  5. Open src/app/orders/orders.component.ts and complete the TODO task.

  6. You should see different customers displayed. Click on a customer's View Orders link to navigate to the orders route.