diff --git a/jump-start-tutorial/exercise-5_route-to-contactslistcomponent.md b/jump-start-tutorial/exercise-5_route-to-contactslistcomponent.md index 46224c4..f9d3033 100644 --- a/jump-start-tutorial/exercise-5_route-to-contactslistcomponent.md +++ b/jump-start-tutorial/exercise-5_route-to-contactslistcomponent.md @@ -22,7 +22,7 @@ $ ng g c contacts-list 1. Create a component `ContactsListComponent` with angular-cli and move the current contact list logic there from `ContactsAppComponent` 2. Import `ContactsListComponent` in `src/app/app.module.ts` and add it to the module's `declarations`. 2. Create `src/app/app.routes.ts`, import the `ContactsListComponent` and export an array with routes (e.g. `export const APP_ROUTES = [...]`), holding one route pointing to `ContactsListComponent`. -3. In `app.module.ts` import `RouterModule` from `@angular/router` and `APP_ROUTES` from `./app/app.routes` +3. In `app.module.ts` import `RouterModule` from `@angular/router` and `APP_ROUTES` from `./app.routes` 4. Add `RouterModule.forRoot(APP_ROUTES)` to the `imports` array of the module 5. Add `` in `ContactsAppComponent`'s view to load and render components