I have a simple UI
<button
md-icon-button
md-tooltip = 'Home'
[routerLink] = "['new-patient']">
<i class = 'mdi mdi-home mdi-36px cyanish'></i>
</button>
The routerLink binding above fails, always fails with the following:
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("
<a md-icon-button
[ERROR ->][routerLink] = "['new-patient']"
color = "accent">
<md-icon class = "material-icons md-2"): SideNavsComponent@43:7
I understand the error, but is there some way for me to actually add a routerLink to a material2 button or button-icon?
It is rather difficult to accept that such a simple procedure seems so impossible.
I previously asked the question and got an answer that worked in June 2016 - that answer no longer works (How to use material2 toolbar, button and angular-cli router)
Thanks