im trying to add "not" conditional to routerlink using Angular 2. My use case is that i want the pages to have a default class everytime im not in the home page, and i dont want to add the class for every page. It is for showging a sidebar, that only is hidden on home page. So:
[routerLink]="/home" routerLinkActive="fit sidebar"
That is what i would like to negate. Like this:
[routerLink]!="/home" routerLinkActive="fit sidebar"
Thanks!