 ###
 
 angular.module("Mac").directive "macAutocomplete", [
+  "$animate"
   "$http"
   "$filter"
   "$compile"

        # If value is more than an empty string,
        # autocomplete is enabled and not 'onSelect' cycle
        if value and not disabled($scope) and not onSelectBool
          if delay > 0
            $timeout.cancel timeoutId if timeoutId?
            timeoutId = $timeout ->
              queryData value
            , delay

      timeoutId           = null
      onSelectBool        = false

      $menuScope       = $rootScope.$new(true)
      $menuScope.items = []
      $menuScope.index = 0

