Type of providers | Ep 3 | Angular Dependency Injection
🔧 Understanding Angular Providers: useClass, useExisting, useFactory, useValue
Welcome back to the channel! In this video, we dive deeper into Angular Dependency Injection (DI) and explore the different types of providers Angular offers: useClass, useExisting, useFactory, and useValue.
📌 You'll learn:
How each provider type works and when to use them
The difference between TypeProvider, ClassProvider, ConstructorProvider
How to avoid multiple instances with useExisting
Why useFactory is a powerful tool for advanced scenarios
How to mock services with useValue for testing
Tips for working with tokens, dependencies, and DI configuration arrays
🧠 Whether you’re working with standalone components or a module-based app, this lesson will give you a strong foundation in customizing Angular’s DI system for real-world scenarios.
📂 Bonus: You'll also learn how to group and reuse provider arrays across your app for better maintainability.
👨💻 My name is Maksym Grom, and this channel is all about web development and Angular.
If you enjoy the content, don’t forget to like, subscribe, and click the 🔔 to stay updated.
📺 Watch the full playlist: Angular Dependency Injection Series
00:00 Intro
01:30 All Providers
02:43 TypeProvider
03:35 ClassProvider
04:51 ConstructorProvider
07:15 ExistingProvider
10:27 FactoryProvider
13:47 ValueProvider
17:58 any[] in Providers
19:23 Summary
Видео Type of providers | Ep 3 | Angular Dependency Injection канала Hrom Maksym
Welcome back to the channel! In this video, we dive deeper into Angular Dependency Injection (DI) and explore the different types of providers Angular offers: useClass, useExisting, useFactory, and useValue.
📌 You'll learn:
How each provider type works and when to use them
The difference between TypeProvider, ClassProvider, ConstructorProvider
How to avoid multiple instances with useExisting
Why useFactory is a powerful tool for advanced scenarios
How to mock services with useValue for testing
Tips for working with tokens, dependencies, and DI configuration arrays
🧠 Whether you’re working with standalone components or a module-based app, this lesson will give you a strong foundation in customizing Angular’s DI system for real-world scenarios.
📂 Bonus: You'll also learn how to group and reuse provider arrays across your app for better maintainability.
👨💻 My name is Maksym Grom, and this channel is all about web development and Angular.
If you enjoy the content, don’t forget to like, subscribe, and click the 🔔 to stay updated.
📺 Watch the full playlist: Angular Dependency Injection Series
00:00 Intro
01:30 All Providers
02:43 TypeProvider
03:35 ClassProvider
04:51 ConstructorProvider
07:15 ExistingProvider
10:27 FactoryProvider
13:47 ValueProvider
17:58 any[] in Providers
19:23 Summary
Видео Type of providers | Ep 3 | Angular Dependency Injection канала Hrom Maksym
angular angular tutorial dependency injection angular angular providers useClass angular useExisting angular useFactory angular useValue angular angular di angular dependency injection angular services injectable angular angular standalone components angular 18 angular 2025 learn angular angular for beginners advanced angular angular best practices angular dev angular course angular explained angular web development
Комментарии отсутствуют
Информация о видео
21 июня 2025 г. 15:01:19
00:20:33
Другие видео канала