title: Angularfir2 database
body: <p>In setuping angularfire2 documentation when I import AngularFireDatabaseModule,ngularFireAuthModule in ng module there is this bug :</p>
  
  <p>cannot compile tns_modules/angularfire2/database.js.</p>
  
  <p>What is the problem?</p>
  
  <p>app.module.ts :</p>
  
  <pre><code>import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
  import { NativeScriptModule } from "nativescript-angular/nativescript.module";
  import { AngularFireModule } from 'angularfire2';
  import { AngularFireDatabaseModule } from 'angularfire2/database';
  import { AngularFireAuthModule } from 'angularfire2/auth';
  
  import { AppComponent } from "./app.component";
  
  
  
  
  
  @NgModule({
    declarations: [AppComponent],
    bootstrap: [AppComponent],
    imports: [NativeScriptModule,
       AngularFireDatabaseModule, 
      AngularFireAuthModule,
    ],
    schemas: [NO_ERRORS_SCHEMA],
  })
  export class AppModule {}
  </code></pre>