This repository was archived by the owner on Mar 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
public/docs/dart/latest/tutorial Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ code-example(format='').
403403 We import the `OnInit` interface because we'll call the `HeroService` inside the `ngOnInit` component lifecycle hook.
404404+ makeExample('toh-5/dart/lib/hero_detail_component.dart' , 'import-oninit' )( format ="." )
405405:marked
406- We inject the both the `RouteParams` service and the `HeroService` into the constructor as we've done before,
406+ We inject both the `RouteParams` service and the `HeroService` into the constructor as we've done before,
407407 making private variables for both:
408408+ makeExample('toh-5/dart/lib/hero_detail_component.dart' , 'ctor' , 'lib/hero_detail_component.dart (constructor)' )( format ="." )
409409:marked
@@ -584,7 +584,7 @@ figure.image-display
584584:marked
585585.l-sub-section
586586 :marked
587- The `styleUrls` property is an list of style file names (with paths).
587+ The `styleUrls` property is a list of style file names (with paths).
588588 We could list multiple style files from different locations if we needed them.
589589 As with `templateUrl`, we must specify the path _all the way back to the application root_.
590590:marked
You can’t perform that action at this time.
0 commit comments