Posts

Showing posts from June, 2024

Angular Services

https://www.pluralsight.com/courses/services-angular by Jim Cooper Creating Custom Angular Services Why Are Angular Services Necessary? The Single Responsibility Principle Cloning Our Demo Project Exploring Our Demo Project Creating an Angular Service Injecting and Using Services Cross-component Communication with Services Creating Reactive and Asynchronous Angular Services The Need for Reactivity in Angular Services Using RxJS for Reactivity Using Angular Signals for Reactivity Improving Service Encapsulation how to create a readonly signal Configuring Angular Projects to Work with APIs Calling APIs from an Angular Service Using the Async Pipe Understanding Angular Dependency Injection What Is Dependency Injection? Benefits of Dependency Injection Example Implementations of Dependency Injection Angular Dependency Injection Angular Service Providers What Are Service Providers and Injectors? How Providers Affect Instantiation Using Classes as Provider Tokens Creating useFactory() Provid...