Edit in JSFiddle

@Directive({
  selector: '[myHighlight]'
})
export class HighlightDirective {
  @HostListener('mouseover') onMouseEnter() {
    // implement some presentation logic
  }
}
<div myHighlight>Example div</div>