diff --git a/js/directives.js b/js/directives.js index 3157eb6255e5f..b199127efadfd 100644 --- a/js/directives.js +++ b/js/directives.js @@ -20,6 +20,15 @@ angular.module('kibana.directives', []) } }; }) +.directive('tip', function($compile) { + return { + restrict: 'E', + link: function(scope, elem, attrs) { + var _t = ''; + elem.replaceWith($compile(angular.element(_t))(scope)); + } + }; +}) .directive('addPanel', function($compile) { return { restrict: 'A',