Services, Promises, & Route Protection

Angular 4    |    Intermediate
  • 9 videos | 37m 39s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 10 users Rating 4.4 of 10 users (10)
Web apps are powered by making HTTP requests. Learn how to use HTTP requests to communicate with a server from within an Angular app, as well as how to protect routes using route guards.

WHAT YOU WILL LEARN

  • Create a custom service for an app
    Inject and use a custom service
    Import and install the httpmodule
    Retrieve data from an external network resource
    Use the observable object
  • Use observable route parameters to facilitate component re-use
    Restrict access to app routes using the canactivate guard
    Detect when apps attempt to navigate away from certain routes
    Create a service that retrieves external data

IN THIS COURSE

  • 6m 11s
    Learn how to create a custom service for an app. FREE ACCESS
  • 3m 52s
    In this video, you will learn how to inject and use a custom service. FREE ACCESS
  • Locked
    3.  Installing the HttpModule
    2m 29s
    In this video, you will learn how to import and install the HttpModule. FREE ACCESS
  • Locked
    4.  Fetching Data Using http.get
    4m 16s
    In this video, you will retrieve data from an external network resource. FREE ACCESS
  • Locked
    5.  Working with Observables
    4m 17s
    Find out how to use the observable object. FREE ACCESS
  • Locked
    6.  Using Route Parameters as Observables
    4m 18s
    During this video, you will learn how to use observable route parameters to make component re-use easier. FREE ACCESS
  • Locked
    7.  Using the CanActivate Route Guard
    4m 20s
    Find out how to restrict access to app routes using the CanActivate guard. FREE ACCESS
  • Locked
    8.  Using the CanDeactivate Route Guard
    4m 16s
    In this video, you will learn how to detect when apps attempt to navigate away from certain routes. FREE ACCESS
  • Locked
    9.  Exercise: Create a Service
    3m 41s
    In this video, you will create a service that retrieves data from an external source. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.5 of 560 users Rating 4.5 of 560 users (560)