Deselect an ion-tab


#1

I am trying to deselect an ion-tab and it says deselect is not a function.

usage:
$ionicTabsDelegate.deselect(1);

Error:
angular.js:12330 TypeError: $ionicTabsDelegate.deselect is not a function

Please anyone let em know how to deselect ion-tab.