I am using Angular Bootstrap UI to show a tabset. The script I include is ui-bootstrap-tpls-0.6.0.min.js and some template html files.
here is my markup:
<tabset>
<tab ng-hide="!hideme">
<tab-heading>
tab1
</tab-heading>
<div>
tab content 1
</div>
</tab>
<tab ng-hide="hideme">
<tab-heading>
tab2
</tab-heading>
<div>
tab content 2
</div>
</tab>
</tabset>
here is my controller
function myController($scope) {
$scope.hideme = true;
});
This code does not work (the 2nd tab does not hide). What is the catch to apply ng attribute to a custom directive?