Skip to content

Commit

Permalink
docs: adding reference to RouterModule.forroot method in Router servi…
Browse files Browse the repository at this point in the history
…ce for better understanding for beginner (#57053)

PR Close #57053
  • Loading branch information
krp12345 authored and atscott committed Jul 22, 2024
1 parent 30aeb81 commit 65a0a03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/router/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export const subsetMatchOptions: IsActiveMatchOptions = {
/**
* @description
*
* A service that provides navigation among views and URL manipulation capabilities. This service is provided at root level in hierarchical dependency injection.
* A service that facilitates navigation among views and URL manipulation capabilities.
* This service is provided at root level in hierarchical dependency injection structure by importing module returned from `forRoot` method of [RouterModule](api/router/RouterModule) .
*
* @see {@link Route}
* @see [Routing and Navigation Guide](guide/routing/common-router-tasks).
Expand Down

0 comments on commit 65a0a03

Please sign in to comment.