Udemy

Angular Router In Depth (Angular 20)

立即報名
  • 17,467 名學生
  • 更新於 12/2025
4.5
(1,675 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
4 小時 48 分鐘
教學語言
英語
授課導師
Angular University
評分
4.5
(1,675 個評分)
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

Angular Router In Depth (Angular 20)

Build large-scale Angular 19 Single Page Applications (SPAs) with the powerful Angular Router

This Course in a Nutshell

In this course, we are going to learn in detail the advantages of building a frontend UI as a single-page application, as opposed to a traditional multi-page application.

Single-page applications (or SPAs) have been around for years now, and are today more popular than ever as a simplified way to build enterprise frontends or internet product dashboards.

SPAs typically give the end-user a much better user experience, due to their better-perceived performance and responsiveness. In this course, we will learn how to use the Angular Router to turn our Angular application into a SPA.

Course Overview

We are going take as a starting point a small Angular application that does not have any routing yet. We are then going to learn how to configure the Angular Router from scratch. We will assume no prior Angular Router knowledge, as we explain everything from first principles.

We will start by introducing the essential router concepts such as route configuration, paths, router outlets, and router navigation links. From these essential concepts, will build a much more advanced routing scenario.

We will learn how to build a master-detail with detail-to-detail navigation scenario, and we will use this example to introduce all the advanced routing concepts and powerful features that the Angular Router offers us.

This will include lazy loading modules, data pre-fetching with Resolvers, protecting route access with Guards, custom pre-loading strategies, secondary outlets (auxiliary routes), and much more.

Table of Contents

This course covers the following topics:

  • What is a single page application?

  • Best practices for router configuration: home route, page not found route, etc.

  • Essential Router configurations concepts: paths, components, and outlets

  • Essential Router navigation concepts; the routerLink and routerLinkActive directives

  • Relative vs Absolute routing best practices

  • Understanding Path matching and router configuration order

  • Router Path and Query parameters

  • Router redirects

  • Deep linking with the Angular router: master-detail with detail-to-detail navigation scenario

  • Understanding router snapshots vs router observables

  • Lazy loaded routes

  • Route data pre-loading with Resolvers

  • Router module pre-loading strategies, building a custom preloading strategy

  • Router Guards - CanActivate and CanActivateChild Authentication Guards

  • Preventing route exits with CanDeactivate guards

  • Checking if a lazy-loaded module can be loaded with CanLoad

  • Router Loading Indicator

  • Understanding Router Hash location strategy

  • Secondary router outlets and auxiliary routes

  • The router module extra configuration options: enableTracing, scrollPositionRestoration, paramsInheritanceStrategy, etc

What Will You Learn In this Course?

At the end of this course, you will feel comfortable setting up the Angular Router from scratch in an existing Angular application

You will know not only the essentials of the router together with all its most advanced features, but most importantly you will know exactly when to use each feature and why, and you will know numerous best practices that will help you to make the most out of the Angular Router

Have a look at the course free lessons below, and please enjoy the course!

課程章節

  • 6 個章節
  • 34 堂課
  • 第 1 章 Introduction
  • 第 2 章 Angular Router Essentials
  • 第 3 章 Angular Router Master Detail with Detail to Detail Navigation
  • 第 4 章 Angular Router Guards In Depth
  • 第 5 章 Angular Router In Depth - Other Topics
  • 第 6 章 Conclusion

課程內容

  • Code in Github repository with downloadable ZIP files per section
  • In-depth guided tour to the Angular Router
  • Angular Router Best Practices
  • Leverage Lazy-loading to the maximum
  • Master-Detail with Detail to Detail Navigation
  • Preloading In Depth
  • Router Guards In Depth
  • Advanced Router Concepts

評價

  • G
    Gordon Hulpieu
    4.0

    Lots of details. Been kind of slow porting to Angular 20 standalone, but it did make for a great learning experience.

  • D
    Dominik Rebitzer
    3.0

    Vasco knows his bits, that's for sure. The course covers everything you'll need even for professional applications. But as said before, don't put a version number in the title the content doesn't match.

  • J
    John Craig
    5.0

    Vasco knows his stuff and is very knowledgeable on the subject, with clear, concise, examples and great coverage of the subject matter.

  • M
    Marijan Novak
    5.0

    Really a great course and great instructor.

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意