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

        tooltip.addClass "visible"
        return true

      removeTip = (event) ->
        if tooltip?
          tooltip.removeClass "visible"
          $timeout ->
            tooltip.remove()
          , 100, false
        return true

      toggle = (event) ->
        if tooltip? then removeTip(event) else showTip(event)

      attrs.$observe "macTooltip", (value) ->
        if value?


      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

