docs(dependency-injection): remove duplicated 'and' word (#3341)

This commit is contained in:
AlexanderLukin 2017-03-06 22:35:02 +03:00 committed by Jesús Rodríguez
parent e9bc8c0327
commit 4f067ab93c
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ figure.image-display
The `LoggerService` doesn't depend on anything. The logger would work if we omitted `@Injectable()` The `LoggerService` doesn't depend on anything. The logger would work if we omitted `@Injectable()`
and the generated code would be slightly smaller. 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. 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 .alert.is-helpful