This commit is contained in:
Max Lynch
2015-07-03 13:39:11 -05:00
parent 6ab57f916d
commit eaf6746034
4 changed files with 2 additions and 66 deletions

View File

@@ -1,21 +0,0 @@
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
import {IonicView} from 'ionic/ionic';
@Component({ selector: 'ion-app' })
@IonicView({
templateUrl: 'main.html'
})
class IonicApp {
constructor() {
console.log('IonicApp Start')
}
doRefresh() {
console.log('DOREFRESH')
}
}
export function main(ionicBootstrap) {
ionicBootstrap(IonicApp);
}

View File

@@ -7,7 +7,7 @@ import {IonicView} from 'ionic/ionic';
@IonicView({
templateUrl: 'main.html'
})
class IonicApp {
class MyApp {
constructor() {
console.log('IonicApp Start')
}
@@ -17,5 +17,5 @@ class IonicApp {
}
export function main(ionicBootstrap) {
ionicBootstrap(IonicApp);
ionicBootstrap(MyApp);
}