docs(toh4): fix anchor

closes #975
This commit is contained in:
Foxandxss 2016-03-16 23:49:55 +01:00 committed by Kathy Walrath
parent b4b0c39f10
commit cb0af7860d
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ code-example(format="." language="html").
We don't really need a dedicated method to wrap one line. We write it anyway:
+makeExample('toh-4/ts/app/app.component.1.ts', 'getHeroes', 'app.component.ts (getHeroes)')(format=".")
a.(id="oninit")
<a id="oninit"></a>
:marked
### The *ngOnInit* Lifecycle Hook
`AppComponent` should fetch and display heroes without a fuss.