Angular Dependency Injection (DI) Explained
Offered By: egghead.io
Course Description
Overview
This course will teach you the ins and outs of dependency injection in Angular. You will learn what dependency injection means, how it applies to software in general and how it is implemented in Angular. We will take a look at simple use cases like injecting services, to exploring different providers recipes and when they are useful. We will also cover almost unknown features like viewProviders, OpaqueToken and edge cases where forwardRef() is needed.
This Angular course assumes knowledge of some fundamentals. We have an Angular course that will Get you started
This Angular course assumes knowledge of some fundamentals. We have an Angular course that will Get you started
Syllabus
- Understand Angular Dependency Injection
- Inject an Angular Service into a Component using Providers
- Use Provide and UseClass in Angular Providers
- Use Angular Factory Providers
- Use Angular Factory Providers with dependencies
- Understand Angular @Injectable
- Use Angular Value Providers
- Understand OpaqueToken in Angular
Taught by
Pascal Precht
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX