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.
I have an AuthGuard (used for routing) that implements CanActivate. canActivate() { return this.loginService.isLoggedIn(); } My problem is, that the …
angular angular2-routing angular2-httpWe have done one angular2 project set up and inside that created one module (my-module) and inside that module created …
unit-testing angular karma-jasmine angular2-routing angular-cliI am in the process upgrading an application I'm working on to the latest Angular 2 release candidate. As part of …
angular angular2-routing angular2-modules angular2-router3How can I add query parameters to routerLink? @RouteConfig { {path: '/search', name: 'Search', component: SearchCmp} } Let' say I want …
angular angular2-routingThis is how the routes and component look like: routes.config export const routes: RouterConfig = [ { path: 'users', component: UsersComponent, canActivate: […
angular angular2-routingI have a component and I need to detect if user pressed back button in his browser to navigate back. …
angular typescript angular2-routingIm using this: import { HttpParams } from '@angular/common/http'; let params = new HttpParams(); params.append('newOrdNum','123'); But …
angular angular2-routing query-parameters angular2-routerI am unit testing a component that is used to edit an object. The object has an unique id that …
unit-testing angular angular2-routing angular2-testingI am trying to implement lazy loading but getting error as following ** ERROR Error: Uncaught (in promise): Error: BrowserModule has …
angular typescript angular2-routing lazy-loading angular2-modulesHow to navigate relative from /questions/123/step1 to /questions/123/step2 within a component using Router without string concatenation and specifying /…
angular typescript angular2-routing