Angular 16: Services and Dependency Injection

Angular 16    |    Beginner
  • 8 videos | 32m 55s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 3 users Rating 4.7 of 3 users (3)
Angular allows the use of one object in another class that consumes it. Angular uses dependency injection instead of the new operator. In this course, you'll discover how to implement dependency injections within a component and configure the injected object via the constructor of the consuming class. Next, you'll examine services in Angular and learn how a service is used in a component. You'll also learn how to inject services into components and access data inside of these services. By the end of this course, you will have the knowledge to work with services and dependency injections in Angular.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Relate dependency injection to angular components
    Create a service in an angular module and populate it with common shared data
    Register a service to an angular module
  • Inject a service inside an angular component
    Access the data available inside a service
    Prepare a route view using a resolver service
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 19s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 3m 46s
    Upon completion of this video, you will be able to relate dependency injection to Angular components. FREE ACCESS
  • Locked
    3.  Creating a Service in Angular
    4m 42s
    In this video, find out how to create a service in an Angular module and populate it with common shared data. FREE ACCESS
  • Locked
    4.  Registering a Service in Angular
    2m 57s
    In this video, learn how to register a service to an Angular module. FREE ACCESS
  • Locked
    5.  Injecting Services Inside an Angular Component
    6m 22s
    During this video, discover how to inject a service inside an Angular component. FREE ACCESS
  • Locked
    6.  Storing Common Data in Services
    5m 37s
    Learn how to access the data available inside a service. FREE ACCESS
  • Locked
    7.  Using Resolvers
    6m 22s
    During this video, discover how to prepare a route view using a resolver service. FREE ACCESS
  • Locked
    8.  Course Summary
    1m 52s
    In this video, we will summarize the key concepts covered in this course. 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.6 of 265 users Rating 4.6 of 265 users (265)
Rating 4.8 of 4 users Rating 4.8 of 4 users (4)