In this video, we'll explore methods for registering dependencies in the providers field (useClass, useValue, useFactory, useExisting). We'll also explore the InjectionToken class, which is used alongside them.
Timings:
00:00 Introduction
00:51 useClass
03:53 useValue
04:37 InjectionToken
05:50 Returning to useValue
06:30 @Inject Decorator
09:20 useFactory
11:52 useExisting
13:53 multi
15:26 Summary
Link to this course's GitHub repository:
https://github.com/Yuri-Simonov/My-An...
Support me on Boosty:
https://boosty.to/yuri_simonov
My IT Telegram channel:
https://t.me/yuri_simonov_it
Link to the Helper project:
https://yuri-simonov.github.io/Helper/
Project chat Helper:
https://t.me/yuri_simonov_helper