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,11 +1,11 @@
import { Component } from '@angular/core';
import { ionicBootstrap, Range } from '../../../../../src';
import { Component, NgModule } from '@angular/core';
import { IonicApp, IonicModule, Range } from '../../../..';
@Component({
templateUrl: 'page1.html'
})
class Page1 {
export class Page1 {
singleValue: number;
singleValue2: number = 150;
singleValue3: number = 64;
@@ -22,8 +22,22 @@ class Page1 {
@Component({
templateUrl: 'main.html'
})
class E2EApp {
export class E2EApp {
rootPage = Page1;
}
ionicBootstrap(E2EApp);
@NgModule({
declarations: [
E2EApp,
Page1
],
imports: [
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],
entryComponents: [
E2EApp,
Page1
]
})
export class AppModule {}