Skip to content

Commit

Permalink
Step 7.9: Added phone service to NgModule
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB committed Feb 13, 2017
1 parent ec3c2c5 commit d63f2cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/imports/app/app.module.ts
Expand Up @@ -3,6 +3,7 @@ import { MomentModule } from 'angular2-moment';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { ChatsPage } from '../pages/chats/chats'
import { MessagesPage } from '../pages/messages/messages';
import { PhoneService } from '../services/phone';
import { MyApp } from './app.component';

@NgModule({
Expand All @@ -22,7 +23,8 @@ import { MyApp } from './app.component';
MessagesPage
],
providers: [
{ provide: ErrorHandler, useClass: IonicErrorHandler }
{ provide: ErrorHandler, useClass: IonicErrorHandler },
PhoneService
]
})
export class AppModule {}

0 comments on commit d63f2cd

Please sign in to comment.