title: Where do I add firebase.initializeApp() in my angular 7 project?
body: <p>Im trying to deploy my angular app to firebase hosting and I get the following error in console:
  Uncaught FirebaseError: "projectId" not provided in firebase.initializeApp.</p>
  
  <p>I have this in my app.module.ts:</p>
  
  <pre><code>export class AppModule {
    constructor(private afs: AngularFirestore) {
      afs.firestore.settings({
       timestampsInSnapshots: true,
     });
     afs.firestore.enablePersistence();
     firebase.initializeApp(environment.firebase);
   }
  }
  </code></pre>
  
  <p>Where exactly should I add the initializeApp command in app.module?</p>