These are chat archives for AngularClass/angular2-webpack-starter

3rd
Jun 2015
Elad Reuven Katz
@EladRK
Jun 03 2015 03:22
This message was deleted
Dima Kuzmich
@forforeach
Jun 03 2015 06:53
@gdi2290 thanks, man. But I've already found it. I wanted to use a class directive which exports CSSClass https://github.com/angular/angular/blob/master/modules/angular2/src/directives/class.ts
and the usage is simple <a router-link="{{ navItem.alias }}" [class.selected]="navItem.isSelected">{{ navItem.name }}</a>