Skip to main content
00:00/00:00
Lecture 10 of 68

Improving Service Encapsulation

Download Course (Free)

Course Content

0 / 68 completed
Section 1: Creating Custom Angular Services7 videos

Cloning Our Demo Project

2m

The Single Responsibility Principle

2m

Creating an Angular Service

4m

Injecting and Using Services

8m

Why Are Angular Services Necessary-

3m

Exploring Our Demo Project

7m

Cross-component Communication with Services

9m
Section 2: Course Overview1 videos

Course Overview

2m
Section 3: Creating Reactive and Asynchronous Angular Services7 videos

The Need for Reactivity in Angular Services

4m

Improving Service Encapsulation

3mNow Playing

Configuring Angular Projects to Work with APIs

7m

Using Angular Signals for Reactivity

7m

Calling APIs from an Angular Service

5m

Using the Async Pipe

3m

Using RxJS for Reactivity

6m
Section 4: Understanding Angular Dependency Injection4 videos

What Is Dependency Injection-

2m

Benefits of Dependency Injection

3m

Example Implementations of Dependency Injection

6m

Angular Dependency Injection

14m
Section 5: Angular Service Providers10 videos

What Are Service Providers and Injectors-

2m

Using Classes as Provider Tokens

4m

Creating useFactory() Providers

2m

How Providers Affect Instantiation

7m

Using Providers to Create Multiple Service Instances

6m

Supplying Provider Dependencies (deps)

3m

Creating a Configurable Cart

7m

Using the multi Property

3m

Challenges with Providing Services Using Interfaces

12m

Creating useValue() Providers

8m
Section 6: Angular Service Injectors8 videos

What Are Service Injectors-

2m

How Angular's Hierarchical Injectors Work

2m

Configuring Injectors

3m

A Graphical Look at Injectors

5m

Defining Component-level Providers

5m

Resolution Modifiers- @Self(), @SkipSelf(), @Host() and @Optional()

6m

Standalone Projects- Route-level Injectors and Providers

8m

Standalone Projects- Application-wide Providers

4m
Section 7: app6 videos

app-routing.module

5m

app.component.spec

5m

app.component

5m

app.module

5m

app.routes

5m

app.config

5m
Section 8: catalog6 videos

catalog.module

5m

catalog.component.spec

5m

product.model

5m

catalog.component

5m

products-data

5m

products.service

5m
Section 9: search2 videos

search.component.spec

5m

search.component

5m
Section 10: core1 videos

cart.service

5m
Section 11: site-header2 videos

site-header.component

5m

site-header.component.spec

5m
Section 12: cart2 videos

cart.component.spec

5m

cart.component

5m
Section 13: product-details2 videos

product-details.component.spec

5m

product-details.component

5m
Section 14: shared2 videos

shared.module

5m

products-service.interface

5m
Section 15: squad-catalog3 videos

engineers

5m

squad-catalog.component.spec

5m

squad-catalog.component

5m
Section 16: squad4 videos

squad-routing.module

5m

squad.module

5m

engineers.service

5m

squad.routes

5m
Section 17: src1 videos

main

5m