CustomNav to Tab in Tabs

1. $ionicTabsDelegate; $timeout;
$ionicTabsDelegate.select(CustomNav.fromTab); $scope.tabNav;
2.
3. this.fromTab = 0;
4. <ion-tab on-select='tabNav()'>