In this tutorial, we’ll see how to get params from URL in Angular 17. Understanding this we’ll be helpful in all versions of Angular like Angular 18. There are two ways, the old way which employs the Router APIs such as the ActivatedRoute
service to get parameters from a URL and the modern approach that directly uses the @Input
decorator.
Read the full tutorial.