File tree 2 files changed +7
-1
lines changed
public/docs/ts/latest/tutorial
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -665,6 +665,8 @@ block extract-id
665
665
+ makeExample('toh-4/ts/app/app.component.ts' ,'template' , 'app/heroes.component.ts (current template)' )( format ="." )
666
666
667
667
:marked
668
+ Delete the `<h1>` at the top (forgot about it during the `AppComponent`-to-`HeroesComponent` conversion).
669
+
668
670
Delete the last line of the template with the `<my-hero-detail>` tags.
669
671
670
672
We'll no longer show the full `HeroDetailComponent` here.
Original file line number Diff line number Diff line change @@ -294,7 +294,11 @@ block get-heroes-details
294
294
When the given name is non-blank, the handler delegates creation of the
295
295
named hero to the hero service, and then adds the new hero to our !{_array}.
296
296
297
- Go ahead, refresh the browser and create some new heroes!
297
+ Finally, we implement the `create` method in the `HeroService` class.
298
+ + makeExcerpt('app/hero.service.ts' , 'create' )
299
+
300
+ :marked
301
+ Refresh the browser and create some new heroes!
298
302
299
303
.l-main-section
300
304
:marked
You can’t perform that action at this time.
0 commit comments