Assuming that a Custom Directive:
- define a custom tag or attribute that is expanded or replaced
- can include Controller logic, if needed
and that the Directive can be of type Element
<my-customdirective></my-customdirective>
or of type Attribute
<h4 my-customdirective></h4>
my question is WHEN and WHY I decide to use one rather than another?