       timeoutId           = null
       onSelectBool        = false
 
-      $menuScope       = $rootScope.$new()
+      $menuScope       = $rootScope.$new(true)
       $menuScope.items = []
       $menuScope.index = 0
 


      #
      # @event
      # @name resetAutocomplete
      # @description
      # Event to reset autocomplete
      #
      $scope.$on "resetAutocomplete", -> reset()
]

###

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