From ed2f6da6817d505ba3f386d5fc64932153d39a17 Mon Sep 17 00:00:00 2001 From: Petr Mikota Date: Wed, 27 Apr 2016 23:13:04 -0700 Subject: [PATCH 1/2] docs(guide/Component Router): Add missing backtick --- docs/content/guide/component-router.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/component-router.ngdoc b/docs/content/guide/component-router.ngdoc index 2a399fe940d4..8c9f2195962e 100644 --- a/docs/content/guide/component-router.ngdoc +++ b/docs/content/guide/component-router.ngdoc @@ -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 `` lives as `. +where the `` lives as ``. The `name` property is used to reference the **Route Definition** when generating URLs or navigating to **Routes**. For example this link will `Heroes` navigate the **Route Definition** From ab1849b4a89ffd65f995b4c1d8678baaa61893a0 Mon Sep 17 00:00:00 2001 From: Petr Mikota Date: Wed, 27 Apr 2016 23:51:10 -0700 Subject: [PATCH 2/2] Update Router.js --- src/ngComponentRouter/Router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngComponentRouter/Router.js b/src/ngComponentRouter/Router.js index 2d4d8a8db498..beb3660d668d 100644 --- a/src/ngComponentRouter/Router.js +++ b/src/ngComponentRouter/Router.js @@ -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)