3 ms·
Like how angularjs works with directives? In angular you can create your own directives (HTML elements, so to say). You can add attributes to these directives.
by BozeWolf 14y ago
Like how angularjs works with directives? In angular you can create your own directives (HTML elements, so to say). You can add attributes to these directives. In this directive simply check if the browser supports the HTML5 element. if(this_is_true): render_this_element() else: mimic_behaviour().