I am creating a navigation structure. I tried to use AngularStrap and Bootstrap, but as soon as I injected them into my app, Angular failed. I found this link and constructed my navigation tab-bar. I like how easy it is to customize. My problem is, I don't know how to apply the css for the selected tab in angular. I can't apply an id to an element conditionally, and when I try and break up the css into multiple classes, the tabs don't display the same way.
<ul class="tablist">
<li ng-repeat="tab in tabList" ng-click="setSelected($index);">
<a href="javascript: void(0);">{{tab.title}}</a>
</li>
</ul>
vs.
<ul class="tablist">
<li id="selectedTab"><a href="javascript: void(0);">Admin</a></li>
</ul>
What is the best way to apply the selected formatting? See this Fiddle for a more fleshed out example.