﻿"use strict";

// Directive for showing bootstrap tabs, need this because we are doing angular spa
app.directive("showTab", function () {
    return {
        link: function (scope, element, attrs) {
            element.click(function (e) {
                e.preventDefault();
                $(element).tab('show');
            });
        }
    };
});