Skip to content

Commit 6725a5c

Browse files
DAB0mBdarkbasic
authored andcommitted
Step 7.9: Added phone service to NgModule
1 parent ccbc12e commit 6725a5c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { StatusBar } from '@ionic-native/status-bar';
66
import { MomentModule } from 'angular2-moment';
77
import { ChatsPage } from '../pages/chats/chats';
88
import { MessagesPage } from '../pages/messages/messages';
9+
import { PhoneService } from '../services/phone';
910
import { MyApp } from './app.component';
1011

1112
@NgModule({
@@ -28,7 +29,8 @@ import { MyApp } from './app.component';
2829
providers: [
2930
StatusBar,
3031
SplashScreen,
31-
{provide: ErrorHandler, useClass: IonicErrorHandler}
32+
{provide: ErrorHandler, useClass: IonicErrorHandler},
33+
PhoneService
3234
]
3335
})
3436
export class AppModule {}

0 commit comments

Comments
 (0)