test(ngmodule): update to ngmodule

This commit is contained in:
Adam Bradley
2016-09-13 15:44:02 -05:00
parent b8fb9c7c6d
commit d7be8a80c0
232 changed files with 4612 additions and 4893 deletions

View File

@ -1,12 +1,12 @@
import { Component, ViewEncapsulation } from '@angular/core';
import { ionicBootstrap, PickerController } from '../../../../../src';
import { Component, ViewEncapsulation, NgModule } from '@angular/core';
import { IonicApp, IonicModule, PickerController } from '../../../..';
@Component({
templateUrl: 'main.html',
encapsulation: ViewEncapsulation.None,
})
class E2EPage {
export class E2EPage {
smoothie: string;
timer: string;
@ -213,8 +213,22 @@ class E2EPage {
@Component({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
export class E2EApp {
root = E2EPage;
}
ionicBootstrap(E2EApp);
@NgModule({
declarations: [
E2EApp,
E2EPage
],
imports: [
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],
entryComponents: [
E2EApp,
E2EPage
]
})
export class AppModule {}

View File