What is Activatedroutesnapshot in angular 2?
Activatedroutesnapshot in Angular 2 is basically an immutable object which is used to represent a particular version of ActiveRoute.
For the implementation of Activatedroutesnapshot object following syntax can be used.
export class ActivatedRoute {
/** The current snapshot of this route **/
snapshot: ActivatedRouteSnapshot;
}
BY Best Interview Question ON 25 Aug 2019