diff --git a/docs/Auth-with-Ionic3-Angular4.md b/docs/Auth-with-Ionic3-Angular4.md index affa64158..137a3781a 100644 --- a/docs/Auth-with-Ionic3-Angular4.md +++ b/docs/Auth-with-Ionic3-Angular4.md @@ -182,9 +182,9 @@ and add the following three entries. >2) Define your firebaseConfig constant. ->3) Initialize your app, by adding AngularFireModule in the "imports" array in @NgModule +>3) Initialize your app, by adding AngularFireModule and AngularFireAuthModule in the "imports" array in @NgModule ->3) Also, add AngularFireDatabaseModule in the "imports" array in @NgModule +>4) Also, add AngularFireDatabase in the "providers" array in @NgModule your `app.module.ts` file should look something like this. @@ -231,6 +231,7 @@ export const firebaseConfig = { providers: [ StatusBar, SplashScreen, + AngularFireDatabase, {provide: ErrorHandler, useClass: IonicErrorHandler} ] })