I am starting with angular and I often see two different approaches of using a module:
<input autocomplete options="..."/>
And:
<autocomplete options="..."/>
I think the first one is a better options since it uses the native HTML tags.
Is there a reason, or advantage of using the second approach?
In my opinion the HTML code becomes quite strange ...
HTML"readable". You can actually see what the DOM element's specific function is. In my opinion choosing between element or attribute is about what it's for, if it's adivyou may want it to be an element, but forinputthen perhaps attribute is most transparent.