AngularStrap is a nice library for bringing Twitter Bootstrap into AngularJS. The idea is to make the Bootstrap features, like tabs, easy to use and control from Angular. However, AngularStrap documents the tab feature with an example that I don’t think I’ll be using too often: it stores the tabs’ html content in a variable, presumably in the controller.
But I want to keep content separate from source code. And for the simplest case, the content can live inline in the HTML. Doing it this way, I was able to simplify the data model:
Along the way to my solution, I found this good SO post demonstrating loading the tab content from external HTML files.