mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
22 lines
408 B
TypeScript
22 lines
408 B
TypeScript
import {Component} from 'angular2/angular2';
|
|
|
|
import {IonicView} from 'ionic/ionic';
|
|
|
|
|
|
@Component({ selector: 'ion-app' })
|
|
@IonicView({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class IonicApp {
|
|
constructor() {
|
|
// var fb = new FormBuilder();
|
|
// this.form = fb.group({
|
|
// preferredApple: ['mac', Validators.required],
|
|
// });
|
|
}
|
|
}
|
|
|
|
export function main(ionicBootstrap) {
|
|
ionicBootstrap(IonicApp);
|
|
}
|