Changing the default name of “router-link-active” class by writing a custom directive that adds new class
问题 I would like to use Semantic UI in my Angular2 application. The problem is that I can't find a router setting that changes the default name of "router-link-active" class. I need it to be called just "active" to make menus display properly. As I understand, such setting doesn't exist. I've seen it in Vue.JS so I expect it to be there too. Is it a good idea to ask developers to fix this? So. We need to write a custom directive that adds "active" class to all DOM elements with "router-link