Top "Angular-routing" questions

The ngRoute module provides routing and deeplinking services and directives for AngularJS apps.

Angular 4 Multiple Guards - Execution Sequence

I have 2 guards, AuthGuard and AccessGuard in the application. AuthGuard protects all the pages as the name suggests and stores …

angular angular-routing angular-router-guards
Angular 6 child routes not working

I have a simple navigation for angular 6 app , I am trying to make routing and child routing work in a …

angular html typescript angular-routing
Angular 7 routerLink directive warning 'Navigation triggered outside Angular zone'

I am struggling with Angular framework to get my application run smoothly, but I can't resolve an issue with routing. …

angular angular-routing angular-router angular7 angular-routerlink
Handling trailing slashes in angularUI router

It's been hours since I started working on this problem and I can't seem to get my head around the …

angularjs angular-ui angular-ui-router angular-routing
Assign multiple controller in $stateProvider.state

Probably this is an easy question for advanced angular users, but I did not find this issue somewhere well explained. …

angularjs angularjs-routing angularjs-controller angular-routing
Angular $routeParams: get query parameter as array

When I have multiple id parameters in query, $routeParams.id gives me an array. That's great. But, if only one …

javascript angularjs controller angular-routing query-parameters
How to generate url path in new Router Angular 2

What analog deprecated-router method generate in new Router 3.0.0? Early it can take something like this: this._router.generate(['Profile']).urlPath; …

angular angular-routing
Angular router: how to pass data to lazy loading module?

I have the following routing paths for a module of my Angular app: @NgModule({ imports: [ RouterModule.forChild([ { path: 'documents', data: { …

angular lazy-loading angular-routing angular-module angular-router
What is the best way to get current route params in Angular 6 services?

I am trying to find out what is the best way to get the current route params in Angular 6. At …

angular typescript angular-routing
How to elegantly get full url from the ActivatedRouteSnapshot?

In some of my Angular route guards, I want to set up the "next" path, to redirect to after successful …

angular angular-routing angular-router-guards