I have successfully implemented tabs in a modal with the Angular directives for TB. I have been trying to figure out from the documentation how to make certain things happen when a tab is clicked. No success yet.
View
<tabset>
<tab ng-repeat="tab in tabs" active="tab.active" heading="{{tab.title}}" disabled="tab.disabled" >
<div ng-include="tab.content"></div>
</tab>
</tabs>
Controller
$scope.tabs = [
{ title:"Home", content:"/beta/application/views/images/uploader/create.html", active: true },
{ title:"Upload", content:"/beta/application/views/images/uploader/upload.html"},
{ title:"Edit", content:"/beta/application/views/images/uploader/edit.html"}
];
There is a ng-click="select()", leaving me to think I could call the following.
$scope.select = function () {
console.log('testing');
};
Obviously I am wrong.
Thanks