As soon as i add this code to my app.module provideFirebaseApp(() => initializeApp(environment.firebaseConfig) ),
to initialize firebase i get this error on my browser
Error: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext