@tsteur opened this Issue on September 24th 2014 Owner

See https://github.com/johnpapa/angularjs-styleguide#directives

Why?: It makes sense.

Why?: While we can allow the directive to be used as a class, if the directive is truly acting as an element it makes more sense as an element or at least as an attribute.

<!-- avoid -->
<div class="my-calendar-range"></div>

<!-- recommended -->
<my-calendar-range></my-calendar-range>

Need to check what it takes to make it work in all major browsers (maybe including IE8)

@tsteur commented on September 25th 2014 Owner

Moved to mid-term as we will wait re IE8

Powered by GitHub Issue Mirror