Files
ionic-framework/packages/ionic-angular/src/components/button/test/raised/app.module.ts
2017-06-21 09:33:06 -05:00

34 lines
648 B
TypeScript

import { Component, CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../..';
@Component({
templateUrl: 'main.html'
})
export class E2EPage {}
@Component({
template: '<ion-nav [root]="rootPage"></ion-nav>'
})
export class AppComponent {
rootPage = E2EPage;
}
@NgModule({
declarations: [
AppComponent,
E2EPage
],
imports: [
BrowserModule,
IonicModule.forRoot(AppComponent)
],
bootstrap: [IonicApp],
entryComponents: [
E2EPage
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppModule {}