how to read values from query string in angular 5
the url format is following https://www.test.com/test?id=13467tdgbgfhjfgy
how to read values from query string in angular 5
the url format is following https://www.test.com/test?id=13467tdgbgfhjfgy
 
    
    In your component, you can access to query parameters with ActivatedRoute.
constructor(private route: ActivatedRoute) { }
ngOnInit() {
  this.route.queryParams.subscribe(params => {
    console.log(params['id']); // 13467tdgbgfhjfgy
  });
}
