Angular 2 makes use of case-sensitive attributes.
For this test I have this html:
<nav>
<span>
<a [routerLink]=" ['./'] ">
Index
</a>
</span>
</nav>
If I run:
$ html2hade test.html --bodyless
I get:
nav
span
a([routerlink]=" ['./'] ")
| Index
As you can see, now the attribute routerLink is in lowercase, routerlink, and doesn't work anymore with Angular.
I tried with -s and --donotencode, same results.