parent
f7ee6b9c1c
commit
ead6987d00
|
@ -104,7 +104,7 @@ include ../_util-fns
|
|||
### Router Outlet
|
||||
Now we know how the router gets its configuration.
|
||||
When the browser URL for this application becomes `/heroes`,
|
||||
the router matches that URL to the `RouteDefintion` named *Heroes* and displays the `HeroListComponent`
|
||||
the router matches that URL to the `RouteDefinition` named *Heroes* and displays the `HeroListComponent`
|
||||
in a **`RouterOutlet`** that we've placed in the host view's HTML.
|
||||
code-example(format="", language="html").
|
||||
<!-- Routed views go here -->
|
||||
|
@ -318,7 +318,7 @@ figure.image-display
|
|||
.l-sub-section
|
||||
:marked
|
||||
#### Live example note
|
||||
We have to be get tricky when we run the live example because the host service sets
|
||||
We have to get tricky when we run the live example because the host service sets
|
||||
the application base address dynamically. That's why we replace the `<base href...>` with a
|
||||
script that writes a `<base>` tag on the fly to match.
|
||||
code-example(format="")
|
||||
|
|
Loading…
Reference in New Issue