docs: clarify heroes example (#21216)

PR Close #21216
This commit is contained in:
René Ras 2017-12-29 15:43:22 -04:00 committed by Kara Erickson
parent b8887ddf16
commit 6861bc5b06
1 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,8 @@ That header is in the `httpOptions` constant defined in the `HeroService`.
<code-example
path="toh-pt6/src/app/hero.service.ts"
region="http-options">
region="http-options"
title="src/app/hero.service.ts">
</code-example>
Refresh the browser, change a hero name and save your change. Navigating to the previous view is implemented in the `save()` method defined in `HeroDetailComponent`.