Created
October 23, 2014 23:23
-
-
Save hogesuke/2d4108d6b12b9cbe8069 to your computer and use it in GitHub Desktop.
AngularJSとBootstrapの共存
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- アンカーの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