In angular I know how to create custom directives that have the following syntax:
Element directive
<my-custom-element attr1 = "some stuff"> </my-custom-element>
Attribute directive
<div my-custom-attribute> </div>
What I want to do
<div my-custom-attribute = "some value"> </div>
Is this possible?
If so, how? I would appreciate a minimalist example.
Thanks