StackOverflow Questions for Tag: angular-dependency-injection

user84
user84

Reputation: 885

Angular 19 Standalone Component Error: "No provider for _HttpClient" Despite HttpClientModule Imported

Score: 3

Views: 1618

Answers: 2

Read More
Gopalakrishnan R
Gopalakrishnan R

Reputation: 41

How to share NgxPermissionsService instances across AppModule, Feature Module and a Library Module

Score: 1

Views: 99

Answers: 0

Read More
st_clair_clarke
st_clair_clarke

Reputation: 5715

Restructuring a super call in a constructor to use the 'this'

Score: 1

Views: 49

Answers: 1

Read More
kerosene
kerosene

Reputation: 891

How to provide a HostAttributeToken in Angular tests?

Score: 2

Views: 46

Answers: 1

Read More
Semicolon
Semicolon

Reputation: 137

NullInjectorError: R3InjectorError

Score: 0

Views: 83

Answers: 1

Read More
Arman
Arman

Reputation: 21

convert APP_INITIALIZER code to newer provideAppInitializer syntax

Score: 2

Views: 243

Answers: 1

Read More
kerosene
kerosene

Reputation: 891

Angular DI for standalone components with importing module on parent component and child component (NullInjectorError: R3InjectorError)

Score: 1

Views: 45

Answers: 1

Read More
Tomasz Jaworski
Tomasz Jaworski

Reputation: 11

Troubleshooting NG0203 Error: Issues with Angular Library and HttpClient Injection in Production Build

Score: 1

Views: 75

Answers: 1

Read More
Brandon Taylor
Brandon Taylor

Reputation: 34593

How to access provider value in Angular 19

Score: 5

Views: 920

Answers: 2

Read More
fservantdev
fservantdev

Reputation: 775

Can we remove all the constructor-based injections?

Score: 3

Views: 90

Answers: 1

Read More
Maksat Madeniyetov
Maksat Madeniyetov

Reputation: 41

How to inject a Service inside ApplicationConfig?

Score: 1

Views: 174

Answers: 2

Read More
AbuDawood Oussama
AbuDawood Oussama

Reputation: 923

Angular | Replace a service in the inner modules by a other class

Score: 3

Views: 370

Answers: 0

Read More
Conde
Conde

Reputation: 951

Injecting a service in Angular using a Symbol does not work in Firefox

Score: 1

Views: 43

Answers: 1

Read More
Raziel
Raziel

Reputation: 140

Using Injector.create() to dynamically create injector for embedded view is not working when parent injector is provided via parent property

Score: 1

Views: 42

Answers: 0

Read More
user3417377
user3417377

Reputation: 81

Angular TestBed.inject

Score: 7

Views: 14575

Answers: 2

Read More
Jeferson Fillipe
Jeferson Fillipe

Reputation: 19

Angular 18 Multiple instance of same service

Score: 0

Views: 211

Answers: 2

Read More
ruddnisrus
ruddnisrus

Reputation: 245

Why Angular provider is not detectedin standalone component?

Score: 0

Views: 66

Answers: 0

Read More
bogeylicious
bogeylicious

Reputation: 5170

Is there a way to enforce typesafety for Angular providers with dependency injection?

Score: 5

Views: 314

Answers: 1

Read More
SKL
SKL

Reputation: 1453

How to inject application config into app module in angular

Score: 6

Views: 27165

Answers: 4

Read More
emery.noel
emery.noel

Reputation: 1185

Angular Standalone - How to Inject Service into Service

Score: 3

Views: 2209

Answers: 1

Read More
PreviousPage 1Next