import { Component, NgModule } from '@angular/core'; import { IonicApp, IonicModule } from '../../../..'; @Component({ templateUrl: 'main.html' }) export class E2EPage { myValue = 'really long value that overflows to show padding'; clicked() { console.log('clicked button'); } } @Component({ template: '' }) export class E2EApp { rootPage = E2EPage; } @NgModule({ declarations: [ E2EApp, E2EPage ], imports: [ IonicModule.forRoot(E2EApp) ], bootstrap: [IonicApp], entryComponents: [ E2EPage ] }) export class AppModule {}