title: platform_browser_dynamic_1.bootstrap is not a function + angular 2
body: <p>Everything was working fine &amp; suddenly not sure why I am getting this error:</p>
  
  <p><code>TypeError: platform_browser_dynamic_1.bootstrap is not a function</code></p>
  
  <p>Below is my component:</p>
  
  <pre><code>import { Component, Input, Output, EventEmitter, ViewChild, ElementRef, AfterViewInit } from '@angular/core';
  import { Http, HTTP_PROVIDERS, Headers, Response } from '@angular/http';
  import { Observable } from 'rxjs/Rx';
  import { ContactService } from '../../services/contactService';
  // Initialize jquery
  declare var $:JQueryStatic;
  
  @Component({
      selector: 'login',
      pipes: [],
      providers: [ContactService],
      directives: [],
      styles: [String(require('../../../../../static/v4/angular/scss/login.scss')),],
      templateUrl: '../../../../../templates/v4/angular/login/login.html'
  })
  export class Login {
      @ViewChild('spreadsheetTable') el:ElementRef;
      public statctUrl = STATIC_URL;
      constructor(private contactService: ContactService) {}
  
      ngOnInit() {
      }
  }
  </code></pre>
  
  <p>Edit: here is my bootstrapping file main.ts (from RC4 -> RC5):</p>
  
  <pre><code>import {LocationStrategy, HashLocationStrategy} from '@angular/common';
  import {bootstrap, platformBrowserDynamic} from '@angular/platform-browser-dynamic';
  import {HTTP_PROVIDERS} from '@angular/http';
  
  import {APP_ROUTER_PROVIDERS} from './app/app.routes';
  import {AppModule} from './app/app.module';
  
  platformBrowserDynamic().bootstrapModule(AppModule, [
    HTTP_PROVIDERS,
    APP_ROUTER_PROVIDERS,
    { provide: LocationStrategy, useClass: HashLocationStrategy }
  ])
  .catch(err =&gt; console.error(err));
  </code></pre>