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** 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)