Skip to main content

All 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[...
user84's user avatar
  • 895
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 ...
Manish Patidar's user avatar
-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 ...
Codehan25's user avatar
  • 3,024