Hello,
we encountered a worrisome error while developing a SPA with Angular 1.5.3 and Keycloak 1.9.1 for authentication.
If we run the application with strict dependency injection, bootstraping will fail with the following error:
Error: [$injector:modulerr] Failed to instantiate module zis due to:
[$injector:strictdi] routerConfig is not using explicit annotation and cannot be invoked in strict mode
Without strict DI, the application runs fine, but the issue occurs every time we try to run minified code.
How could we solve this problem?
Cheers, Dejan