How I can get params this way:
mydomain.com/?token=MY_TOKEN&some=test
How I can get the token
and the some
from the URL to my angular 2 component?
I tried:
this.route.params
.subscribe((params) => {
this.token = params['token'];
this.some = params['some'];
});