Ion-tabs default selected tac


#1

how to set the default icon which is on when when the app runs ?

icon-on="ion-ios7-keypad" icon-off="ion-ios7-keypad-outline"

like by default the first icon in the ion-tabs list is selected ! what if i want to make third one default ?

Please bare me for my simple question ! i am a newbie


#2

What you could do is change the urlRoutProvider and make what ever tab you want

$urlRouterProvider.otherwise("/tab/about");

I tried to play with the tab delegate, but it didn’t work quite right
http://ionicframework.com/docs/api/service/$ionicTabsDelegate/


#3

heya ty ! i gt tht !