In angularjs 1.x with Ui Router module I could subscribe to state/route changes in ONE class like app.js when the route from ANY state/controller changed.
How can impl. the same behavior with ng2?
I want just ONE subscribe for the route.params in ONE class where I can check the url and then decide what to do.
I thought the app.component.ts is the right place for it, but the route change there happens only when the whole page is refereshed!
Or is it possible that a component can have a base class where I can implement base functionality just one time ? This just came to my mind...