Skip to content

Commit

Permalink
Step 7.6: Register the 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 8c16dd0 commit 3f0c8f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/app.module.ts
Expand Up @@ -10,6 +10,7 @@ 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";
import { MessagesOptionsComponent } from "../pages/messages-options/messages-options";

@NgModule({
declarations: [
Expand All @@ -22,6 +23,7 @@ import { NewChatComponent } from "../pages/new-chat/new-chat";
ProfileComponent,
ChatsOptionsComponent,
NewChatComponent,
MessagesOptionsComponent
],
imports: [
IonicModule.forRoot(MyApp),
Expand All @@ -37,7 +39,8 @@ import { NewChatComponent } from "../pages/new-chat/new-chat";
VerificationComponent,
ProfileComponent,
ChatsOptionsComponent,
NewChatComponent
NewChatComponent,
MessagesOptionsComponent
],
providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
})
Expand Down

0 comments on commit 3f0c8f9

Please sign in to comment.