import {NavController, NavParams} from 'ionic/ionic'; import {Page, ViewController} from 'ionic/ionic'; import {forwardRef} from 'angular2/angular2'; import * as helpers from '../../helpers'; @Page({ template: '' + '' + 'Tabs' + '' + '' + '', directives: [forwardRef(() => helpers.AndroidAttribute)], }) class TabTextCtrl { constructor(nav: NavController, view: ViewController) { this.nav = nav; this.view = view; } } @Page({ template: '' + '' + '' + '' + '', }) export class BasicPage { constructor(nav: NavController, params: NavParams) { this.nav = nav; this.tabOne = TabTextCtrl; this.tabTwo = TabTextCtrl; this.tabThree = TabTextCtrl; } }