JSFiddle

  • Angularjs Bootstrap Tab Panel

    AngularJS 1.2.1, HTML, CSS, JavaScript

    var app = angular.module('tabapp',[]);
    
    app.directive('tabPanel',function($timeout){
        return {
            template: ' <div role="tabpanel" ng-transclude></div>',
            restrict: 'E',
            transclude: true,  
            replace: true,
            scope: {onChange ...
  • Angularjs Bootstrap Modal Directive Example #629 is the latest revision

    AngularJS 1.2.1, HTML, CSS, JavaScript

    var myModalApp = angular.module('myModalApp',[]);
    
    myModalApp.directive('modal', function(){
            return {
                template: '<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"><div class="modal-dialog modal-sm"><div class="modal-content" ng-transclude><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button><h4 class="modal-title" id="myModalLabel">Modal title</h4></div></div></div></div>', 
                restrict: 'E',
                transclude: true,
                replace:true,
                scope ...