App annotation/mode attribute

This commit is contained in:
Adam Bradley
2015-07-08 14:05:37 -05:00
parent 9d2570d2e5
commit 40fc77b0b6
112 changed files with 625 additions and 1466 deletions

View File

@ -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);
}