Top "Angular-activatedroute" questions

How to use ActivatedRoute in Angular 5?

I am trying to do exactly the same thing as in this post: Angular 4 get queryString I am using Angular 5.2.5. …

angular5 query-string angular-activatedroute
Angular error: no provider for ActivatedRoute

i m using angular 5 latest and i am hitting below exception ERROR Error: StaticInjectorError(AppModule)[AppComponent -> ActivatedRoute]: StaticInjectorError(…

angular angular-activatedroute
Angular 6 - Get current route and it's data

How do you able to get current route you're in and get's it's data, children and it's parent? say if …

angular6 angular-router angular-activatedroute
angular 7 getting ActivatedRoute params not working

Hi and thank you for your help in advance. I have been working on this problem for awhile now and …

angular angular-ui-router angular-activatedroute
How to get id from the URL using snapshot or ActivatedRoute subscriber in Angular?

I am getting value using snapshot method but it is getting the value after "classes" in this case 20 but I …

angular angular-router angular-activatedroute
Angular 2 get parent activated route

I have a route with route children like this: { path: 'dashboard', children: [{ path: '', canActivate: [CanActivateAuthGuard], component: DashboardComponent }, { path: 'wage-types', …

angular typescript angular-router angular-activatedroute
Angular : Get value of parameter in parent route

I am having URLs like www.yoursite.com/accounts/:accountid/info www.yoursite.com/accounts/:accountid/users etc. An integer …

angular angular-activatedroute
List of queryParams is empty in Angular 5 routing

I'm new to Angular and I've looked for solution of my problem, but unfortunately I haven't found that. When I …

angular typescript router optional-parameters angular-activatedroute