angularjs - translateLoadingSuccess never gets called angular-translate -


Using angular-translation for translation and trying to avoid FOUC. I

Angular East (Translation, Work (Translation) {$ translateProvider.translations (Translation. Local, Translation Translation);}); $ TranslateProvider.preferredLanguage (settings.defaultLocale);

And it is trying to do one of my html

   

But I still see FOUC behavior. Any thoughts or suggestions when I debug the script, I never called Event $ translateloadingSuccess, so all my elements may disappear, even if the page has loaded.

If you want to avoid FOUC, then what are you looking for in NG-Clock? You have to add it like this:

  & lt; Body class = "{{bodyClass}}" ng-cloak & gt;  

And it will prevent unwanted flashing.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -