Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 43b97b2

Browse files
buberssongkalpak
authored andcommitted
docs(guide/component-router): add missing backticks
Closes #14530
1 parent 7640589 commit 43b97b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/guide/component-router.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ because the `HeroList` and `HeroDetail` will not contain any child routes.
658658

659659
The `component` property in a **Route Definition** defines the **Component** directive that will be rendered
660660
into the DOM via the **Outlet**. For example the `heroDetail` **Component** will be rendered into the page
661-
where the `<ng-outlet></ng-outlet>` lives as `<hero-detail></hero-detail>.
661+
where the `<ng-outlet></ng-outlet>` lives as `<hero-detail></hero-detail>`.
662662

663663
The `name` property is used to reference the **Route Definition** when generating URLs or navigating to
664664
**Routes**. For example this link will `<a ng-link="['Heroes']">Heroes</a>` navigate the **Route Definition**

src/ngComponentRouter/Router.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
* Each item in the **RouteConfig** for a **Routing Component** is an instance of
9393
* this type. It can have the following properties:
9494
*
95-
* * `path` or (`regex` and `serializer) - defines how to recognize and generate this route
95+
* * `path` or (`regex` and `serializer`) - defines how to recognize and generate this route
9696
* * `component`, `loader`, `redirectTo` (requires exactly one of these)
9797
* * `name` - the name used to identify the **Route Definition** when generating links
9898
* * `data` (optional)

0 commit comments

Comments
 (0)