Am trying to call an expression function on tab select using angular ui bootstrap, however the expression is not being called but checking on angular inspector the function /expression exists : below is my code work:
NB : Other tabs function correctly
Angular View
<uib-tab ng-click="vm.alertMe" select="" heading="New Invoice">
.....
</uib-tab>
controller used as vm
vm.alertMe = alertMe;
function alertMe() {
setTimeout(function() {
$window.alert('You\'ve selected the alert tab!');
});
}