How to add two tabs with text


#1

how to create this view using tabs?and how to activate tab background color change?


#2

ahhhm go to the ionic docs and choose JavaScipt-Components -> tabs
http://ionicframework.com/docs/api/directive/ionTabs/

You can add custom styling or classes to the active tab with the ngClass-Directive
$ionicTabsDelegate.selectedIndex() return active tab index
or store active index after click on a tab

Example


#3

thank you.its working