is there any way to create angular style directives using plain Java Script only? E.g
<p highlightDirective>Highlight me</p>
<button showTooltipDirective>Click</button>
<div copyWhenClickedDirective>...</div>
Some background: I work on legacy system that uses htc components (very useful, very old and not supported IE technology). I need to get rid of them so maybe it’s possible to replace them by directives.