From 4c5061500755c4e08093673e2147f12a0fabc94e Mon Sep 17 00:00:00 2001 From: Bert Verhelst Date: Mon, 25 Sep 2017 17:13:56 +0200 Subject: [PATCH] docs(upgrade): Add not to explain heroes token for heroesService --- aio/content/guide/upgrade.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aio/content/guide/upgrade.md b/aio/content/guide/upgrade.md index cee83ce13d0726..a24c096c0c4af8 100644 --- a/aio/content/guide/upgrade.md +++ b/aio/content/guide/upgrade.md @@ -778,6 +778,14 @@ delete them once the upgrade is over. It's also recommended to export the `heroesServiceFactory` function so that Ahead-of-Time compilation can pick it up. +
+ +Note that the 'heroes' string inside the factory refers to the AngularJS `HeroesService`. +It is common in AngularJS apps to chose a service name for the token (e.g. heroes) +and append the Service suffix to create the class name (e.g. heroesService) + +
+