- Static content
- {{pane.content}}
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin lacinia, ante sit amet pharetra vulputate, augue velit dignissim libero, in blandit neque sapien at sapien. Sed lacinia tellus quis risus consectetur egestas. In hac habitasse platea dictumst.
+
+ {{pane.content}}
+
+
+
+
+
+
Different tab placements
+
Left
+
+ {{pane.content}}
+
+
Right
+
+ {{pane.content}}
-
-
-
-
\ No newline at end of file
diff --git a/src/tabs/docs/readme.md b/src/tabs/docs/readme.md
index 3c746c49eb..26a4a0b8df 100644
--- a/src/tabs/docs/readme.md
+++ b/src/tabs/docs/readme.md
@@ -1 +1,7 @@
-AngularJS version of the tabs directive.
\ No newline at end of file
+AngularJS version of the tabs directive.
+
+Individual tabs can be created statically, from markup, or generated from model using the `ng-repeat directive`.
+
+Tabs selection can be driven by mouse `click` event or in response to model changes (see the `active` attribute).
+
+It is also possible to change placement of tabs using the `placement` attribute.
diff --git a/src/tabs/tabs.js b/src/tabs/tabs.js
index b05d75f1b2..4d48fa1383 100644
--- a/src/tabs/tabs.js
+++ b/src/tabs/tabs.js
@@ -29,7 +29,9 @@ angular.module('ui.bootstrap.tabs', [])
return {
restrict: 'EA',
transclude: true,
- scope: {},
+ scope: {
+ placement: '@'
+ },
controller: 'TabsController',
templateUrl: 'template/tabs/tabs.html',
replace: true
diff --git a/template/tabs/tabs.html b/template/tabs/tabs.html
index 06e92f3750..6cf80b19ce 100644
--- a/template/tabs/tabs.html
+++ b/template/tabs/tabs.html
@@ -1,4 +1,4 @@
-