 @param {String}  mac-tooltip-direction Direction of tooltip (default 'top')
 @param {String}  mac-tooltip-trigger   How tooltip is triggered (default 'hover')
 @param {Boolean} mac-tooltip-inside    Should the tooltip be appended inside element (default false)
+@param {Expr}    mac-tooltip-disabled  Disable and enable tooltip
 ###
 
 angular.module("Mac").directive "macTooltip", [


            enabled = true

      scope.$on "$destroy", ->
        removeTip() if tooltip?
]

      opts = util.extendAttributes "macTooltip", defaults, attrs

      showTip = (event) ->
        return if disabled

        tip       = if opts.inside then element else $(document.body)
        tooltip   = $("""<div class="tooltip #{opts.direction}"><div class="tooltip-message">#{text}</div></div>""")
        tip.append tooltip
