define([ 'angular', 'kbn' ], function (angular, kbn) { 'use strict'; angular .module('grafana.directives') .directive('tip', function($compile) { return { restrict: 'E', link: function(scope, elem, attrs) { var _t = ''; elem.replaceWith($compile(angular.element(_t))(scope)); } }; }); });