- What is the difference between Angular router class and angular activated route class?
- when to use this above class?
Asked
Active
Viewed 6,737 times
5

Hrishikesh Kale
- 6,140
- 4
- 18
- 27

Aakansha Chandel
- 63
- 1
- 4
-
1Does this answer your question? [What is the difference between ActivatedRoute and ActivatedRouteSnapshot in Angular4](https://stackoverflow.com/questions/46050849/what-is-the-difference-between-activatedroute-and-activatedroutesnapshot-in-angu) – Kirubel Sep 26 '20 at 06:51
1 Answers
2
Angular Router is a service that presents a particular component view for a given URL. The Router interprets the URL in the browser and handles navigation to the configured component. After the end of each successful navigation lifecycle, the router builds a tree of ActivatedRoute objects that make up the current state of the router.
AcivatedRoute in an injectable service that provides access to information about a route associated with a component such as the route path and URL parameters in the component.
Both of them are included in the package '@angular/router'. You can read more in the Angular Docs.

Delwyn Pinto
- 614
- 1
- 6
- 14