enviroment.ts
export const environment = {
production: false,
firebase: //copiar o objeto de configuração.
apiUrl: suaUrl
};
app.module.ts
import { AppComponent } from './app.component
import { AppRoutingModule } from './app-routing.module';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AngularFireModule } from 'angularfire2';
import { AngularFireAuth } from 'angularfire2/auth';
import { environment } from '../environments/environment';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AngularFireModule.initializeApp(environment.firebase),,
],
providers: [AngularFireAuth],//se quiser usar a auth do firebase
bootstrap: [AppComponent]
})
export class AppModule { }