Skip to content

Commit

Permalink
Step 6.10: Register that component
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 26, 2017
1 parent 35c63d7 commit 10d5b41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Expand Up @@ -9,6 +9,7 @@ import { LoginComponent } from "../pages/auth/login";
import { VerificationComponent } from "../pages/verification/verification";
import { ProfileComponent } from "../pages/profile/profile";
import { ChatsOptionsComponent } from "../pages/chat-options/chat-options";
import { NewChatComponent } from "../pages/new-chat/new-chat";

@NgModule({
declarations: [
Expand All @@ -19,7 +20,8 @@ import { ChatsOptionsComponent } from "../pages/chat-options/chat-options";
LoginComponent,
VerificationComponent,
ProfileComponent,
ChatsOptionsComponent
ChatsOptionsComponent,
NewChatComponent,
],
imports: [
IonicModule.forRoot(MyApp),
Expand All @@ -34,7 +36,8 @@ import { ChatsOptionsComponent } from "../pages/chat-options/chat-options";
LoginComponent,
VerificationComponent,
ProfileComponent,
ChatsOptionsComponent
ChatsOptionsComponent,
NewChatComponent
],
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
})
Expand Down

0 comments on commit 10d5b41

Please sign in to comment.