Top "Angular-routing" questions

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

How to set default query params for Route in Angular 7?

In our Angular-7-Application, we use @ngrx and @ngrx/router-store to get the query params into the state. A few …

angular angular-routing ngrx angular-router ngrx-router-store
How to get object in queryparams using Typescript?

In a button click i have function as, inviewMockupEvent(data) { console.log(data); this.router.navigate(['/page-mockup'], { queryParams: { data: …

javascript angular typescript angular-routing angular4-router
use same component for different routes with different output

In my application I like to create a master (CRUD) for physician. I have a physician component for creating, editing …

angular angular-routing
Routing between Modules in Angular

I'm building simple angular application. There are two modules as student and teacher. Here is how my project organized. First …

angular angular-routing ng-modules
Caching URL view/state with parameters

I'm making a mobile app using Cordova and AngularJS. Currently I have installed ui-router for routing but I'm open to …

javascript angularjs angular-ui-router angular-routing
Getting route param as null in angular 7

I am unable to retrive the route param as null. I am using angular7. Please find the code below HeaderComponent …

angular angular-routing angular7 routeparams
Angular routing with multiple routes and router-outlet

I'm trying to add navigation to components in addition to the navigation of the app root, but it is not …

angular routes angular-routing router-outlet
Angular App Url always saying 404 on refresh after deploy on IIS

I deployed an application developed using angular 6 on IIS of windows server. Now I am facing one issue that on …

angular angular-routing
Angular: how to call router.navigate() relative to target route in a RouteGuard?

I have an existing project developed with Angular 4. I need to control the access to a particular route based on …

angular angular-routing angular-route-guards
Property 'url' does not exist on type 'Event' for Angular2 NavigationEnd Event

this.subscription = this.router.events.subscribe((event:Event) => { console.log(event.url); ##### Error : Property 'url' does not exist on …

angularjs angular routing router angular-routing