docs(dependency-injection): remove duplicated 'and' word (#3341)
This commit is contained in:
parent
e9bc8c0327
commit
4f067ab93c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue