How to check current route in Angular Universal?

182 Views Asked by At

For basic Angular2 it is possible to check current route like this:

this.subscription = router.events.subscribe((val: any) => {

});

But there is problem when use Angular Universal on server side...

Any solution for this?

0

There are 0 best solutions below