From c3280b2c2ffdafaf025522e0e6d01199b1ffb275 Mon Sep 17 00:00:00 2001 From: Eyal Cherevatzki Date: Mon, 16 Apr 2018 18:15:38 +0300 Subject: [PATCH] docs(aio): change `HeroService` to `MessagesComponent` (#23397) Someone probably forgot to change this when coping the sentence from a previous section. PR Close #23397 --- aio/content/tutorial/toh-pt4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index c5a87b2ff7..0c56a0ba69 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -348,7 +348,7 @@ Open `MessagesComponent` and import the `MessageService`. Modify the constructor with a parameter that declares a **public** `messageService` property. Angular will inject the singleton `MessageService` into that property -when it creates the `HeroService`. +when it creates the `MessagesComponent`.