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