title: Angular2 bootstrap error: Error: No ExceptionHandler. Is platform module (BrowserModule) included?
body: <p>I have a problem with running angular 2 application. During call of</p>
  
  <pre><code>import { PlatformRef } from '@angular/core/src/application_ref';
  import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  import { AppModule } from './components2/app.module';
  
  
  const platform: PlatformRef = platformBrowserDynamic();
  platform.bootstrapModule(AppModule);
  </code></pre>
  
  <p>I have this error:
  <a href="https://i.stack.imgur.com/sw0hh.png" rel="nofollow"><img src="https://i.stack.imgur.com/sw0hh.png" alt="enter image description here"></a></p>
  
  <p>This is weird error, because BrowserModule is included:</p>
  
  <pre><code>import { NgModule } from "@angular/core"
  import { BrowserModule } from "@angular/platform-browser";
  import { AppComponent } from "./app.component";
  import { FormsModule } from "@angular/forms";
  
  @NgModule({
      imports: [BrowserModule, FormsModule],
      declarations: [AppComponent],
      bootstrap: [AppComponent]
  })
  export class AppModule {}
  </code></pre>
  
  <p>Thanks in advance.</p>