Skip to content

Commit c446b7b

Browse files
Merge pull request manfredsteyer#372 from jeroenheijmans/docs/readme-imports-clarification
Clarify imports in README example
2 parents 25ca5c6 + bf5ef56 commit c446b7b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,27 +71,27 @@ npm i angular-oauth2-oidc --save
7171
## Importing the NgModule
7272

7373
```TypeScript
74+
import { HttpClientModule } from '@angular/common/http';
7475
import { OAuthModule } from 'angular-oauth2-oidc';
75-
[...]
76+
// etc.
7677

7778
@NgModule({
7879
imports: [
79-
[...]
80-
HttpModule,
80+
// etc.
81+
HttpClientModule,
8182
OAuthModule.forRoot()
8283
],
8384
declarations: [
8485
AppComponent,
8586
HomeComponent,
86-
[...]
87+
// etc.
8788
],
8889
bootstrap: [
8990
AppComponent
9091
]
9192
})
9293
export class AppModule {
9394
}
94-
9595
```
9696

9797
## Configuring for Implicit Flow

0 commit comments

Comments
 (0)