Skip to content

Commit a7840e5

Browse files
Translate for the topic 'Services'
1 parent 478c5d8 commit a7840e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

i18n/PT-BR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,9 +646,9 @@ ou *Definindo* vs *Obtendo*
646646
647647
### Singletons
648648
649-
- Services are instantiated with the `new` keyword, use `this` for public methods and variables. Since these are so similar to factories, use a factory instead for consistency.
649+
- Services são instanciados com a palavra-chave `new`, use `this` para métodos públicos e variáveis. Services são bastante similares a factories, use um factory para consistência.
650650
651-
Note: [All AngularJS services are singletons](https://docs.angularjs.org/guide/services). This means that there is only one instance of a given service per injector.
651+
Nota: [Todos services em AngularJS são singletons](https://docs.angularjs.org/guide/services). Isso significa que há apenas uma instância do serviço para cada injetor.
652652
653653
```javascript
654654
// service

0 commit comments

Comments
 (0)