This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Provide context for "unknown provider" errors. #8135
Closed
Description
When you get an error like this:
Error: Unknown provider: userProfileProvider <- userProfile
The stack trace is exclusively inside of Angular code, and there is nothing in the error that says which controller's instantiation, or any other object's instantiation, the error is coming from.
There should be enough context to detect where the issue is happening. This is currently very hard to debug.