mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
App annotation/mode attribute
This commit is contained in:
@ -14,7 +14,7 @@ import {
|
||||
NgFormModel,
|
||||
FormBuilder
|
||||
} from 'angular2/forms';
|
||||
import {Checkbox, Content, List} from 'ionic/ionic';
|
||||
import {App, Checkbox, Content, List} from 'ionic/ionic';
|
||||
//import {IONIC_DIRECTIVES} from 'ionic/ionic'
|
||||
|
||||
// @Component({
|
||||
@ -45,8 +45,7 @@ import {Checkbox, Content, List} from 'ionic/ionic';
|
||||
// }
|
||||
// }
|
||||
|
||||
@Component({ selector: 'ion-app' })
|
||||
@View({
|
||||
@App({
|
||||
templateUrl: 'main.html',
|
||||
directives: [Checkbox, List, Content, NgControlName, NgFormModel]
|
||||
})
|
||||
@ -89,8 +88,3 @@ class IonicApp {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function main(ionicBootstrap) {
|
||||
ionicBootstrap(IonicApp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user