Skip to content

Commit d3df81d

Browse files
committed
💬 feat: alterou o readme
1 parent c4eaf7d commit d3df81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
7272
BrowserModule,
7373
FormsModule,
7474
],
75-
providers: [AccountService, LoggingService], <--------
75+
providers: [AccountService, LoggingService], <-------- injeta o serviço no nível mais alto
7676
bootstrap: [AppComponent]
7777
})
7878
```
@@ -83,7 +83,7 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
8383
selector: 'app-account',
8484
templateUrl: './account.component.html',
8585
styleUrls: ['./account.component.css'],
86-
providers: [LoggingService], <---------
86+
providers: [LoggingService], <--------- injeta o serviço no nível de um único componente/ de seus componentes filhos
8787
})
8888
```
8989

0 commit comments

Comments
 (0)