Challenge: Adding Routes
Challenge yourself by modifying the route of the home component.
We'll cover the following
Problem statement
Opening the Angular application to its default URL {{EDUCATIVE_LIVE_VM_URL}}
currently routes us to the HomeComponent. Try updating app-routing.module.ts so that the HomeComponent displays when accessing {{EDUCATIVE_LIVE_VM_URL}}/home
.
Playground
Below is the updated code. Modify it to implement the functionality mentioned in the problem statement.
Get hands-on with 1400+ tech skills courses.