79182608

Date: 2024-11-12 20:21:24
Score: 0.5
Natty:
Report link

Had the same problem, solved with ng-init and active:

<tabset>
    <tab
        ng-repeat="tab in tabs"
        ng-init="tab.active = $index === 0"
        active="tab.active"
        heading="{{ tab.heading }}"
    >
    </tab>
    <tab heading="Foo">
    </tab>
</tabset>    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sorrat