CopyPastor

Detecting plagiarism made easy.

Score: 0.8044916987419128; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-04-06
by George C.

Original Post

Original - Posted on 2017-11-19
by Sajeetharan



            
Present in both answers; Present only in the new answer; Present only in the old answer;

in your app.module.ts add the **AngularFirestore** into providers.
@NgModule({ imports: [ BrowserModule, AngularFireModule.initializeApp(firebaseConfig), ], declarations: [ AppComponent ], providers: [AngularFirestore], bootstrap: [ AppComponent ] }) export class AppModule {}

You should add **`providers: [AngularFirestore]`** in **`app.module.ts`**.
<!-- language: lang-js -->

@NgModule({ imports: [ BrowserModule, AngularFireModule.initializeApp(environment.firebase) ], declarations: [ AppComponent ], providers: [AngularFirestore], bootstrap: [ AppComponent ] }) export class AppModule {}

        
Present in both answers; Present only in the new answer; Present only in the old answer;