ng-tabs
Version:
Tabs directive for Angular.js
26 lines (16 loc) • 490 B
Markdown
# ng-tabs
A very simple tabs interface to implement in Angular.js with no other dependencies.
## HTML
```html
<tabs tab-default="1">
<tab-nav></tab-nav>
<tab-content tab-index="1" tab-title="My first tab">
<!-- tab 1 content -->
</tab-content>
<tab-content tab-index="2" tab-title="My second tab">
<!-- tab 2 content -->
</tab-content>
</tabs>
```
## CSS
Use the provided `tabs.css` file to style the tabs. Some basic styles have been included.