custom directive in angular code example
Example 1: custom directives in angular 8
<h1 appHightlight>Highlight Me !</h1>
Example 2: change specific element style angular directive
content_copy
ng generate directive highlight
<h1 appHightlight>Highlight Me !</h1>
content_copy
ng generate directive highlight