Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit ef1171b

Browse files
benasocjkwalrath
authored andcommitted
docs(toh-pt5/dart): fix grammar mistakes (#2057)
1 parent 841db9e commit ef1171b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/docs/dart/latest/tutorial/toh-pt5.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)