Book Image

Hands-On Angular Routing [Video]

By : Haider Malik
Book Image

Hands-On Angular Routing [Video]

By: Haider Malik

Overview of this book

<p><span id="description" class="sugar_field">Routing is a very important component of the web or native applications as it affects the power and usability of the application. Most web applications need to support different URLs to navigate users to different pages in the application. That’s where a router comes in.</span></p> <p><span id="description" class="sugar_field">This course is a simple way to get started with Angular Router and harness its full power for your applications. It’s a JavaScript router implementation that’s designed to work with Angular and is packaged as @angular/router. By using Angular Router, you will activate all required Angular components to compose a page when a user navigates to a certain URL. </span></p> <p><span id="description" class="sugar_field">You’ll learn to set up routing so that it lets users navigate from one page to another without page reload. Instead, it updates the browser’s history so the user can use the back and forward buttons when navigating between pages. In addition, you’ll do tasks such as redirect a URL to another URL, resolve data before a page is displayed, run scripts when a page is activated or deactivated, and lazy load the parts of our application.</span></p> <p><span id="description" class="sugar_field">By the end of this course, you’ll be ready to work on projects with Angular Router and make routing configuration work in your Angular application.<br /></span></p> <p><span id="description" class="sugar_field">The code bundle for this video course is available at- <a href="https://github.com/PacktPublishing/Hands-On-Angular-Routing" target="_new">https://github.com/PacktPublishing/Hands-On-Angular-Routing</a></span></p> <h1><span class="sugar_field">Style and Approach</span></h1> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">The course takes a hands-on approach, creating an interesting and illustrative application to demonstrate the concepts, while only necessary jargon and theory will be discussed.</span></span></p>
Table of Contents (7 chapters)
Chapter 3
Pre-fetching Data Using Route Resolvers
Content Locked
Section 1
Implementing Route Resolver
Pre-fetch data before navigating to the route. - What is Route Resolver? - Understand why do we need Route Resolver - Implement the Route Resolver in Angular Application