All Questions
Tagged with angular-dependency-injection angular-library
3 questions
1
vote
1
answer
86
views
Troubleshooting NG0203 Error: Issues with Angular Library and HttpClient Injection in Production Build
I wasn't able to solve it. I'm counting on your help.
I have an Angular application and a library.
In the library, I have a service where I inject HttpClient. I set HttpClient as a provider in the ...
1
vote
1
answer
535
views
Making sure my Angular library's service is constructed offering standalone friendly provide function
I am authoring an Angular library. It contains a service, which runs initialization logic in the constructor that is required for the library to work properly. I have set up the library module with a ...
8
votes
2
answers
3k
views
Pass configuration data to a dependency of a angular library using "forRoot"
I've created two Angular libraries, one has the other as a dependency.
the dependency needs to be configured using the forRoot method.
how can i pass the configuration data from the parent library to ...