Skip to content

Commit

Permalink
docs: fix provideRouter typo (angular#52798)
Browse files Browse the repository at this point in the history
PR Close angular#52798
  • Loading branch information
sasidharansd authored and thePunderWoman committed Nov 13, 2023
1 parent 4d868a3 commit 15a825c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In `app.config.ts`, configure the app to Angular Router with the following steps

1. Import the `provideRouter` function from `@angular/router`.
1. Import `routes` from the `./app.routes.ts`.
1. Call the `providerRouter` function with `routes` passed in as an argument in the `providers` array.
1. Call the `provideRouter` function with `routes` passed in as an argument in the `providers` array.

<docs-code language="ts" highlight="[2,3,6]">
import {ApplicationConfig} from '@angular/core';
Expand Down

0 comments on commit 15a825c

Please sign in to comment.