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.

Angular2: Global Guard (user has to be logged in always)

I'm building an application where there's no access at all for unauthenticated users. I wrote a LoggedInGuard, but now I …

angular typescript angular2-routing angular2-guards
How to handle multiple queryParams in Angular2

I'm trying to implement a filtering mechanism in a new Angular2 app, that would allow me to filter a list …

angular typescript angular2-routing angular2-services angular2-router
ng2-translate not working in lazy-loaded module

I'm using ng2-translate for language handling in an Angular 2 RC5 app I'm creating. The app has two feature modules, …

angular module angular2-routing ng2-translate
Unit testing Angular 2 authGuard; spy method is not being called

I'm trying to unit test my auth guard service. From this answer I was able to get this far, but …

unit-testing angular angular2-routing angular2-testing
Angular 2 Routing Error with ModuleWithProviders

I'm new in Angular 2 I need help on the routing part. I'm using http://jasonwatmore.com/post/2016/09/29/angular-2-user-registration-and-login-example-tutorial I …

angular angular2-routing angular2-modules
Want to prevent Component recreation while routing in Angular 2

Let's say we have two routes Dashboard and Profile. Dashboard has dynamic tabs feature like Google spreadsheet. I want to …

angular angular2-routing angular2-router3
Angular2 pass data to route from component

I need to pass data from one component to another, I found only the way to do it with route …

angular angular2-routing angular2-components
How to navigate to a route while a named outlet is child of an unnamed outlet

I am using Angular 5. I have one in app.component. I am dynamically routing to a particular component say 'dashboard'. …

angular angular2-routing angular5 named-routing
Dynamic Routing with tabs in angular2 4

Today I came across routing problem where I need help from you guys, Actually, I am having a sidebar in …

angular typescript routing angular2-routing angular4-router
Populating a child router-outlet Angular2

Since I heard Angular's Router supports nested <router-outlet> tags, I'm trying to use two of them. I"m …

angular angular2-routing router angular2-template