This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Provider issue in windows chrome #1746
Labels
Comments
a, find solution for myself, I need to do:
confuse sometime that I can see theuseStaticFilesLoader function without loading the angular-translate-loader-static-files.min.js script |
Well, indeed: The helper Maybe you give a PR a try? :) |
Sure. |
Great! I guess this could be realized with the $injector just like in cookies https://github.com/angular-translate/angular-translate/blob/2.15.1/src/service/storage-cookie.js#L15-L41 .. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Subject of the issue
angular.js:66 Uncaught Error: [$injector:unpr] Unknown provider: $translateStaticFilesLoaderProvider <- $translateStaticFilesLoader <- $translate
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.
`
`
Expected behaviour
open console in chrome, see the error message:
Uncaught Error: [$injector:unpr] Unknown provider: $translateStaticFilesLoaderProvider <- $translateStaticFilesLoader <- $translate
Actual behaviour
should have no error
The text was updated successfully, but these errors were encountered: