I want to activate the tabs programmatically but could not find a way.
Here is a plunker for this. HTML:
<tabset>
<tab id="a1" heading="Static 1">Static 111</tab>
<tab id="a2" heading="Static 2" ng-attr-active="{{nd}}">Static 222</tab>
</tabset>
JS:
$scope.nd = true;
ps:"tabs and their content should not be defined in a js file".
where