Loading topic
Routes array. Then you hand that array to the router with provideRouter.2 min readRoutes array registered with provideRouter and a <router-outlet /> in your root component. Here you add links that change the route without reloading the page.2 min readRoutes array, register it with provideRouter, and render matches in a RouterOutlet. Here you will handle three edge cases that every app has. The first is a visit to the bare root URL, the second is a URL that has moved, and the third is a URL that matches2 min readinject() function, and basic RxJS Observables. It also assumes you can already define routes and link to them with RouterLink.2 min readRouterLink, and read path parameters with ActivatedRoute or component inputs. Here we cover the optional parts of a URL: the query string and the fragment.2 min readRouterLink, and read route parameters. It shows how to navigate from TypeScript. You need this when the next URL depends on logic, such as after a form is saved, after a login succeeds, or when a user picks an item from a dropdown.2 min readRoutes array, register it with provideRouter, and place a RouterOutlet in a template. Child routes build on all three.2 min readRoutes array, register it with provideRouter, and nest child routes. It also assumes you are comfortable with standalone components and dynamic import() in TypeScript.2 min readinject(), and navigate with Router. A guard is a function the router calls during navigation. It decides whether the navigation continues, stops, or redirects somewhere else.2 min readinject(), and basic RxJS Observables. It uses the withComponentInputBinding() setup from earlier chapters.1 min readfilter and pipe, the inject() function, and the route guards and resolvers from earlier chapters.2 min readprovideRouter and how the router maps a URL to a component. Here you choose how those URLs look in the browser's address bar, and what that choice requires from your web server.2 min readloadChildren and loadComponent, standalone bootstrapping with provideRouter, and basic RxJS operators such as switchMap.2 min readTestBed, can write Jasmine or Vitest specs, and have read the earlier chapters on input binding and functional guards. The examples test the ProductDetailComponent and authGuard from those chapters.2 min read