           disabled = value
 
       scope.$on "$destroy", ->
-        removeTip() if tooltip?
+        removeTip(0) if tooltip?
 ]

                element.bind "click", toggle
              when "hover"
                element.bind "mouseenter", showTip
                element.bind "mouseleave click", removeTip

            enabled = true



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

      showTip = ->
        return true if disabled or not text

        tip =
          if opts.inside then element else angular.element(document.body)

        ## Check if the tooltip still exist, remove if it does
        removeTip(0)

        tooltip = angular.element """<div class="tooltip #{opts.direction}"><div class="tooltip-message">#{text}</div></div>"""
        tip.append tooltip

