title: How to fix Angular-translate FOUC issue using translation-cloak?
body: <p>I've problem with flickering of texts during first loading.</p>
  
  <p>I tried all solutions I've found on internet but none of them worked...</p>
  
  <p>My version of angular-translate is newest 2.4.2.</p>
  
  <p>Here is example HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="testapp"&gt;
  &lt;head&gt;
      &lt;title translate-cloak&gt;{{ 'page.appName' | translate }}&lt;/title&gt;
      &lt;base href="/"&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;link rel="icon" type="image/ico" href="static/favicon.ico"/&gt;
      &lt;link rel="stylesheet" href="stylesheets/style.css"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;
      &lt;ul&gt;
          &lt;li&gt;
              &lt;div&gt;
                  &lt;a href="/"&gt;&lt;strong translate-cloak&gt;{{ 'page.appName' | translate }}&lt;/strong&gt;&lt;/a&gt;
              &lt;/div&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div ng-view&gt;&lt;/div&gt;
  &lt;script src="javascripts/angular.js"&gt;&lt;/script&gt;
  &lt;script src="javascripts/angular-translate.js"&gt;&lt;/script&gt;
  &lt;script src="javascripts/angular-translate-loader-url.js"&gt;&lt;/script&gt;
  &lt;script src="javascripts/angular-translate-loader-static-files.js"&gt;&lt;/script&gt;
  &lt;script src="javascripts/angular-translate-storage-local.js"&gt;&lt;/script&gt;
  &lt;script src="javascripts/test.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is JavaScript:</p>
  
  <pre><code>angular.module('testapp', ['ngRoute', 'ngResource', 'ngCookies', 'ngTable', 'mgcrea.ngStrap', 'pascalprecht.translate'])
          .config(['$locationProvider', '$routeProvider', '$httpProvider', '$translateProvider',
              function ($locationProvider, $routeProvider, $httpProvider, $translateProvider) {
                  $locationProvider.html5Mode(true);
                  $routeProvider.when('/', {
                      templateUrl: 'views/main.html'
                  }).otherwise({
                      redirectTo: '/'
                  });
  $translateProvider.useSanitizeValueStrategy('escaped').useLocalStorage().useStaticFilesLoader({
                      prefix: 'static/languages/',
                      suffix: '.json'
                  }).use('en-EN');
              }
          ]);
  </code></pre>