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

Commit

Permalink
docs(dependency-injection): remove duplicated 'and' word (#3341)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderLukin authored and Foxandxss committed Mar 6, 2017
1 parent e9bc8c0 commit 4f067ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/docs/ts/latest/cookbook/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f067ab

Please sign in to comment.