docs: fix dependecy injection documentation page typos (#47057)

PR Close #47057
This commit is contained in:
Edward 2022-08-06 15:32:12 +08:00 committed by Dylan Hunn
parent 974a71c437
commit 951d02e1de

View file

@ -25,7 +25,7 @@ The next step is to make it available in the DI by providing it. A dependency c
<code-example language="typescript">
@Component({
selector: 'hero-list,
selector: 'hero-list',
template: '...',
providers: [HeroService]
})