I'm currently reading a lot about different JS frameworks (EmberJS, AngularJS, etc.).
On first sight, I loved AngularJS' idea of using directives like custom HTML tags:
<mytag>...</mytag>
But isn't this dangerous? If I define a lot of such tags, then there's a high likelihood that a future HTML spec may also define one of my custom tags, but with a whole other meaning!
I know that custom tags may be allowed by the HTML spec itself:
http://w3c.github.io/webcomponents/spec/custom/
But at the moment, it isn't. So is it good practice to use custom tags as directives? Or should I better rely on ng-xxx
attributes?