AngularJS controller for a tab
问题 I have three tabs in my page. I'm using tabset and tab according to Angular Bootstrap Docs. I set a controller for the <div> which has the tabset as <div ng-controller="Tabs" class="panel panel-default" id="tabs-panel"> <tabset class="panel-body"> <tab heading="Tab 1"> </tab> <tab heading="Tab 2"> </tab> <tab heading="Tab 3"> </tab> </tabset> </div> The corresponding page is But, when I try to add another controller for my 2nd tab as <div ng-controller="Tabs" class="panel panel-default" id=