I have a tab navigation using bootstrap+jquery like this:
<ul class="nav nav-tabs">
<li class="active"><a href="#tag1" data-toggle="tab">Tab1</a></li>
<li><a href="#tab2" data-toggle="tab">Tab2</a></li>
</ul>
<div ng-app="app">
<div class="tab-content">
<div class="tab-pane active" id="tab1"></div>
<div class="tab-pane" id="tab2"></div>
</div>
</div>
Now I would like to manage just the content of each pane with angular. Like this
<div ng-app="app">
<div class="tab-content">
<div class="tab-pane active" id="tab1" ng-controller="Tab1Ctrl"></div>
<div class="tab-pane" id="tab2" ng-controller="Tab2Ctrl"></div>
</div>
</div>
Is this possible with angular? Each controller would have to load its own template and fill it with data. Any suggestions?