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