How to add two tabs with text


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


ahhhm go to the ionic docs and choose JavaScipt-Components -> tabs

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



thank you.its working