News for hackers. Stuff that matters.
Re:Angular 2.0 by craigching on Tuesday March 18, 2014 @02:44PM (#7424036)
You can make your custom directives HTML5 compliant, see [1], you can use the HTML5 data- prefix. For instance:

  <sidebar></sidebar>
can instead be coded as:

  <span data-sidebar></span>
or something similar.

[1] -- http://docs.angularjs.org/guide/directive

Re:Angular 2.0 by nostrademons on Thursday March 20, 2014 @09:01PM (#7440000)
Custom elements are part of the HTML5 spec too:

http://w3c.github.io/webcomponents/spec/custom/

The only requirement is that they have a dash in the name. So while <sidebar> is not a valid HTML5 element, <a-sidebar> would be.

Re:Angular 2.0 by talmand on Tuesday March 18, 2014 @03:03PM (#7424191)
That's my usual way, or the class-based way for older IE.