From 4f067ab93c133d0cb5d8ad6565afe37d9f9d771d Mon Sep 17 00:00:00 2001 From: AlexanderLukin Date: Mon, 6 Mar 2017 22:35:02 +0300 Subject: [PATCH] docs(dependency-injection): remove duplicated 'and' word (#3341) --- public/docs/ts/latest/cookbook/dependency-injection.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/cookbook/dependency-injection.jade b/public/docs/ts/latest/cookbook/dependency-injection.jade index 2b9b143ac8..7d912d9bad 100644 --- a/public/docs/ts/latest/cookbook/dependency-injection.jade +++ b/public/docs/ts/latest/cookbook/dependency-injection.jade @@ -137,7 +137,7 @@ figure.image-display The `LoggerService` doesn't depend on anything. The logger would work if we omitted `@Injectable()` and the generated code would be slightly smaller. - But the service would break the moment we gave it a dependency and we'd have to go back and + But the service would break the moment we gave it a dependency and we'd have to go back and add `@Injectable()` to fix it. We add `@Injectable()` from the start for the sake of consistency and to avoid future pain. .alert.is-helpful