title: No provider for AngularFire (Angular 2)
body: <p>(This is not the same as the existing questions about it)</p>
  
  <p>UPDATE:
  I'm using Angular 2 version 2.2.3 and angularfire2 version 2.0.0-beta.6</p>
  
  <p>In the Chrome console I get the error <code>No provider for AngularFire</code>. In my main.ts I have this:</p>
  
  <pre class="lang-js prettyprint-override"><code>platformBrowserDynamic().bootstrapModule(AppModule, [
    FIREBASE_PROVIDERS,
    defaultFirebase({
      apiKey: &lt;my-apikey&gt;,
      authDomain: &lt;my-authdomain&gt;,
      databaseURL: &lt;my-databaseurl&gt;,
      storageBucket: &lt;my-storagebucket&gt;
    })
  ]);
  </code></pre>
  
  <p>In the tutorials I have seen about this they use <code>bootstrap</code> instead of <code>platformBrowserDynamic().bootstrapModule</code>, but in my version of Angular I can't import just <code>bootstrap</code>.</p>