import { Component } from '@angular/core' ; import { App , IonicPage , Tabs } from '../../../../../..' ; @ IonicPage ( ) @ Component ( { templateUrl : 'tab-one.html' } ) export class TabOne { items : any [ ] = [ ] ; constructor ( private tabs , private app ) { for ( var i = 1 ; i <= 250 ; i ++ ) { this . items . push ( i ) ; } } selectPrevious ( ) { this . tabs . select ( this . tabs . previousTab ( ) ) ; } appNavPop ( ) { this . app . navPop ( ) ; } }