Dynamic Content in Dynamic Tab (Angular, UI Bootstrap)
问题 I'd like to use ng-include in the content of a dynamically generated tab using AngularJs and UI Bootstrap. I have a Plunker here: http://plnkr.co/edit/2mpbovsu2eDrUdu8t7SM?p=preview <div id="mainCntr" style="padding: 20px;"> <uib-tabset> <uib-tab ng-repeat="tab in tabs" active="tab.active" disable="tab.disabled"> <uib-tab-heading> {{tab.title}} <i class="glyphicon glyphicon-remove-sign" ng-click="removeTab($index)"></i> </uib-tab-heading> {{tab.content}} </uib-tab> </uib-tabset> </div> JS