We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 703e7de commit ebc5da2Copy full SHA for ebc5da2
adev-ja/src/content/guide/di/creating-injectable-service.md
@@ -115,7 +115,7 @@ export class HeroListComponent {
115
}
116
</docs-code>
117
118
-コンポーネントのコンストラクターを使用して、サービスをコンポーネントに注入することもできます:
+コンポーネントのコンストラクターを使用しても同様に、サービスをコンポーネントに注入できます:
119
120
<docs-code header="src/app/heroes/hero-list.component.ts (constructor signature)" language="typescript">
121
constructor(private heroService: HeroService)
0 commit comments