text: /**
   * @author v.lugovsky
   * created on 23.12.2015
   */
  (function() {
      'use strict';
  
      /**
       * Represents current element as panel, adding all necessary classes.
       */
      angular.module('Kronos.theme')
          .directive('baPanelSelf', baPanelSelf);
  
      /** @ngInject */
      function baPanelSelf(baPanel) {
          return angular.extend({}, baPanel, {
              link: function(scope, el, attrs) {
                  el.addClass('panel panel-white');
                  if (attrs.baPanelClass) {
                      el.addClass(attrs.baPanelClass);
                  }
              }
          });
      }
  
  })();