Javascript 获取子元素的HTML内容

Javascript 获取子元素的HTML内容,javascript,angularjs,angularjs-directive,Javascript,Angularjs,Angularjs Directive,基本上我想改变: <tabs> <section tab-pane> <header tab-header>Tab title with HTML <img ...></header> Section body </section> <section tab-pane> .... </section> </tabs> 带HTML的选项卡标题 节体 .... 到

基本上我想改变:

<tabs>
<section tab-pane>
    <header tab-header>Tab title with HTML <img ...></header>
    Section body
</section>
<section tab-pane>
    ....
</section>
</tabs>

带HTML的选项卡标题
节体
....
到(Twitter的引导程序):


标签在这里
指令允许您指定类,您可以为twitter引导创建所需的结构,然后将指令限制在“C”而不是“EA”上吗?我们有一套基于Twitter引导的不断改进的纯AngularJS指令,包括标签。
<div class="tabbable">
      <ul class="nav nav-tabs">
        <li ng-repeat="pane in panes" ng-class="{active:pane.selected}">
          <a href="" ng-click="select(pane)" >TITLE GOES HERE</a>
        </li>
      </ul>
      <div class="tab-content" ng-transclude>
          TABS HERE
      </div>
 </div>