Skip to content

Commit 2da3947

Browse files
authored
docs(readme): update docs for installation
1 parent 193da5f commit 2da3947

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ $ npm i -S @markpieszak/ng-application-insights
3636
Now add ApplicationInsightsModule to your Angular Root `AppModule`:
3737

3838
```typescript
39-
// Import the Application Insights module and the service provider
39+
// 1) Import the Application Insights module and the service provider
4040
import { ApplicationInsightsModule, AppInsightsService } from '@markpieszak/ng-application-insights';
4141

4242
@NgModule({
4343
imports: [
44-
// ... your imports
45-
46-
// Add the Module to your imports
44+
// 2) Add the Module to your imports
4745
ApplicationInsightsModule.forRoot({
4846
instrumentationKey: 'Your-Application-Insights-instrumentationKey'
4947
})
5048
],
51-
// ... providers / etc
52-
providers: [ ..., AppInsightsService ],
49+
providers: [
50+
// 3) Add AppInsightsService to your providers list
51+
AppInsightsService
52+
]
5353
})
5454
export class YourRootModule { }
5555
```

0 commit comments

Comments
 (0)