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 TabIconPage { constructor(platform: Platform) { this.platform = platform; this.isAndroid = platform.is('android'); } } @Page({ template: '' + '' + '' + '' + '' + '', }) export class IconPage { constructor() { this.tabOne = TabIconPage; this.tabTwo = TabIconPage; this.tabThree = TabIconPage; this.tabFour = TabIconPage; } }