docs(guide/component-router): add missing backticks

Closes #14530
This commit is contained in:
Petr Mikota
2016-04-27 23:13:04 -07:00
committed by Georgios Kalpakas
parent b67d145bf3
commit 3dcc01646a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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**
+1 -1
View File
@@ -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)