Top "Angular2-routing" questions

Angular Routing is a built-in feature that enables you to create a Single Page Application (SPA) user interface, where users can navigate to different views without having to reload the entire page from the server every time.

Router link not working for a component inside a shared module

I have written a module named "Customer" which has several components like login, home and register. Now I have created …

angular angular2-routing routerlink
Targeting named outlet via routerLink adds extraneous "/"

I'm trying to launch a modal in my app via routing. Everything seems to work except that an extra slash …

angular modal-dialog angular2-routing router outlet
How to Unit Test Angular 2 routing params

Say that I want to simply unit test a component that takes parameters taken from a part of the route. …

angular angular2-routing angular2-testing
Using regex for path value of routes in angular2

I want to configure route for my angular2 application. My URL needs to be like this: http://domain_name/constant_…

angular angular2-routing angular2-router routeconfig
Angular 2 Router - named router-outlet navigation from code

Using @angular/router": "3.4.7". Proposed solution here doesn't work anymore. /** The ProductComponent depending on the url displays one of two info …

angular2-routing router-outlet
Refresh component after doing a router.navigate

I am trying to navigate from one component to another component using : this.router.navigate(['/path/'], '_blank'); …

angular angular2-routing ag-grid
Angular 4: Routing to a route doesn't work

There is some fundamental concept of routing in Angular 4 that I don't understand. index.html: <base href="/"> File …

angular typescript angular2-routing angular4-router
Changing router-outlet with *ngIf in app.component.html in angular2

I am using angular 2.0 final. I am trying to change the location of the router-outlet in the main app.component.…

angular angular2-routing angular2-template
Angular2 router, get route data from url, to display breadcrumbs

I am using angular2 router. To draw the breadcrumb of an url, lets say site.com/a/b/c/15 I …

angular angular2-routing angular2-router