add it in your imports

      
        ...
        @NgModule({
          imports: [
            BrowserModule,
            AngularFireModule.initializeApp(environment.firebase)
          ],
        ...