Skip to content

Commit 934860c

Browse files
committed
Update README.md
1 parent 1100552 commit 934860c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ It is recommended to instantiate `TranslateService` in the bootstrap of your app
2525
If you add it to the "providers" property of a component it will instantiate a new instance of the service that won't be initialized.
2626

2727
```js
28-
import {HTTP_PROVIDERS} from 'angular2/http';
29-
3028
bootstrap(AppComponent, [
31-
HTTP_PROVIDERS,
32-
TranslateService
29+
TranslateService // not required, but recommanded to have 1 unique instance of your service
3330
]);
3431

3532

0 commit comments

Comments
 (0)