All Questions
Tagged with angular-dependency-injection rxjs
3 questions
4
votes
2
answers
3k
views
Angular 19 Standalone Component Error: "No provider for _HttpClient" Despite HttpClientModule Imported
I am working on an Angular standalone application and encountering the following error when using HttpClient in my DataService:
ERROR Error [NullInjectorError]: R3InjectorError(Standalone[...
1
vote
1
answer
87
views
Angular Service State Not Updating for Subscribers Even After Using BehaviorSubject
I'm working on an Angular service that fetches rules from a secondary cart and updates a BehaviorSubject to manage the state. However, my subscribers are not receiving updates even after the state is ...
-1
votes
2
answers
501
views
How to trigger a method in a component when a method in a service is executed?
I have a chart configuration (with amCharts) in which an eventListener is registered for the bullets. This event listener triggers another function in my chart service.
I want to trigger a method in ...