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.

Angular 2 - how to use the new angular 2.0.0-rc.1 router

I've started to write a new angular 2 project and I found that I installed 2 angular router: "@angular/router": "2.0.0-rc.1", "@angular/…

javascript angular angular2-routing
Angular2 - How to best handle expired authentication token?

I am using Angular 2.1.2. I have an authentication token (using angular2-jwt) and if it expires my webApi call fails …

angular angular2-routing angular2-jwt
PathLocationStrategy vs HashLocationStrategy in web apps

What are the pros and cons of using: PathLocationStrategy - the default "HTML 5 pushState" style. HashLocationStrategy - the "hash URL" …

url web-applications angular hashbang angular2-routing
Implementing Dynamic Routing in Angular2 (Typescript)

RouteConfig class which can be used to decorate a component (@RouteConfig) with routing capabilities has certain route definitions defined for …

typescript angular angularjs-routing angular2-routing angular2-template
Show activity Indicator while loading a lazy loaded Module in Angular 2

My scenario is as follows. I have a menu, with multiple options. Each menu should be shown depending on user …

angular lazy-loading angular2-routing
angular2: CanDeactivate guard

I've created a CanDeactivate guard which returns an observable and it's applied to a component which is loaded in a …

angular angular2-routing angular2-guards
Angular2 Router: Error: Cannot find primary outlet to load 'InboxComponent'

I created a simple app with routing. Links "http:// localhost:4200" and "http:// localhost:4200/mail" work well, but when I try …

angular typescript angular2-routing angular2-router
how to do responsive components in Angular2

I'm wading my way into Angular2. My objective is to create a responsive app that loads different components in response …

angular responsive-design angular2-routing angular2-directives
Angular 4 Lazy Loading and Routes not working

I have a module with the routes of my app. One of this routes is a lazy loading module. The …

angular lazy-loading angular2-routing angular-module
Angular 2 roles and permissions

I have used angular2 and laravel 5.3 in my project. in laravel when user logged in server will be send the …

angular angular2-routing angular2-guards