Skip to content

Instantly share code, notes, and snippets.

@hogesuke
Created October 23, 2014 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hogesuke/2d4108d6b12b9cbe8069 to your computer and use it in GitHub Desktop.
Save hogesuke/2d4108d6b12b9cbe8069 to your computer and use it in GitHub Desktop.
AngularJSとBootstrapの共存
<!-- アンカーのhrefにハッシュを指定している -->
<ul class="nav nav-tabs">
<li class="active"><a href="#new" data-toggle="tab">New</a></li>
<li><a href="#my" data-toggle="tab">My</a></li>
</ul>
<!-- 切り替え先のコンテンツのidにハッシュと同じ名称をつけている -->
<div class="tab-content">
<div class="tab-pane active" id="new" ng-include="'./partials/newVideoList.part.html'"></div>
<div class="tab-pane" id="my" ng-include="'./partials/myVideoList.part.html'"></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment