Inject it into the @App
itself:
@App({
templateUrl: 'build/app.html',
providers: [ConferenceData, UserData]
})
then import it in the @Page
to use it. See the conference app:
Inject it into the @App
itself:
@App({
templateUrl: 'build/app.html',
providers: [ConferenceData, UserData]
})
then import it in the @Page
to use it. See the conference app: