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

docs(guide/Component Router): Add missing backticks #14530

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/guide/component-router.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ because the `HeroList` and `HeroDetail` will not contain any child routes.

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

The `name` property is used to reference the **Route Definition** when generating URLs or navigating to
**Routes**. For example this link will `<a ng-link="['Heroes']">Heroes</a>` navigate the **Route Definition**
Expand Down
2 changes: 1 addition & 1 deletion src/ngComponentRouter/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
* Each item in the **RouteConfig** for a **Routing Component** is an instance of
* this type. It can have the following properties:
*
* * `path` or (`regex` and `serializer) - defines how to recognize and generate this route
* * `path` or (`regex` and `serializer`) - defines how to recognize and generate this route
* * `component`, `loader`, `redirectTo` (requires exactly one of these)
* * `name` - the name used to identify the **Route Definition** when generating links
* * `data` (optional)
Expand Down