static/lib/autocomplete.js
function(scope, element, attrs, autoCtrl){
      element.bind('mouseenter', function() {
        autoCtrl.preSelect(attrs.val);
        autoCtrl.setIndex(attrs.index);
      });

      element.bind('mouseleave', function() {
        autoCtrl.preSelectOff();
      });
    }
function(scope, element, attrs, autoCtrl){
      element.bind('mouseenter', function() {
        autoCtrl.preSelect(attrs.val);
        autoCtrl.setIndex(attrs.index);
      });

      element.bind('mouseleave', function() {
        autoCtrl.preSelectOff();
      });
    }
function ( scope , element , attrs , autoCtrl ) { element . bind ( 'mouseenter' , function ( ) { autoCtrl . preSelect ( attrs . val ) ; autoCtrl . setIndex ( attrs . index ) ; } ) ; element . bind ( 'mouseleave' , function ( ) { autoCtrl . preSelectOff ( ) ; } ) ; }
^look for controller on parents element
^look for controller on parents element