Angular: Empty Fiddle

http://angularjs.org/

by aldomatic

HTML

<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<tab>
  Tab content here.
</tab>
<tab>
  Tab content here.
</tab>
<tab>
  Tab content here.
</tab>

JavaScript

angular.module('myApp', [])
.directive('tab', function() {
  return {
    restrict: 'E',
    transclude: true,
    template: '<h2>Tabs</h2> <div role="tabpanel" ng-transclude></div>',
    scope: { },
    link: function(scope, elem, attr) {
    	
    }
  }
})