diff --git a/ionic/components/app/test/yerk/index.js b/ionic/components/app/test/yerk/index.js index ca42a5e898..b6bba6c213 100644 --- a/ionic/components/app/test/yerk/index.js +++ b/ionic/components/app/test/yerk/index.js @@ -7,7 +7,56 @@ import {IonicView} from 'ionic/ionic'; @IonicView({ templateUrl: 'main.html' }) -class IonicApp {} +class IonicApp { + constructor() { + this.root = TabsPage; + } +} + +@Component({selector: 'ion-view'}) +@IonicView({ + template: '' + + '' + + 'Home' + + '' + + '' + + '' +}) +class HomeTabPage { + constructor(nav: NavController) { + this.nav = nav; + console.log('Initi'); + } + push() { + } +} + + +@Component({selector: 'ion-view'}) +@IonicView({ + template: ` + + + + + + + + + + + + + + + + ` +}) +class TabsPage { + constructor() { + this.firstTabPage = HomeTabPage; + } +} export function main(ionicBootstrap) { ionicBootstrap(IonicApp); diff --git a/ionic/components/app/test/yerk/main.html b/ionic/components/app/test/yerk/main.html index 15b2787588..fb55740f34 100644 --- a/ionic/components/app/test/yerk/main.html +++ b/ionic/components/app/test/yerk/main.html @@ -1,31 +1,9 @@ - - - - - - - - - - - - - - - - - - - - - +