Skip to content

Commit d412cc7

Browse files
committed
Fix bad import statement in Angular 2 plugin example
1 parent bbd1057 commit d412cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/integrations/angular2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Then, in your main module file (where ``@NgModule`` is called, e.g. app.module.t
6060
6161
import Raven = require('raven-js');
6262
import { BrowserModule } from '@angular/platform-browser';
63+
import { NgModule, ErrorHandler } from '@angular/core';
6364
import { AppComponent } from './app.component';
64-
import { NgModule, ErrorHandler } from 'angular2/core';
6565
6666
Raven
6767
.config('___PUBLIC_DSN___')
@@ -77,7 +77,7 @@ Then, in your main module file (where ``@NgModule`` is called, e.g. app.module.t
7777
imports: [ BrowserModule ],
7878
declarations: [ AppComponent ],
7979
bootstrap: [ AppComponent ],
80-
providers: [ {provide: ErrorHandler, useClass: RavenErrorHandler}]
80+
providers: [ { provide: ErrorHandler, useClass: RavenErrorHandler } ]
8181
})
8282
export class AppModule { }
8383

0 commit comments

Comments
 (0)