 
     $provide.factory("versionCheckHttpIntercept", ["$q", versionCheckHttpIntercept])
 
-    $httpProvider.interceptors.push('versionCheckHttpIntercept')
+    $httpProvider.interceptors.push("versionCheckHttpIntercept")
 
     window.checksley.updateValidators({
         linewidth: (val, width) ->


    $translateProvider
        .useStaticFilesLoader({
            prefix: '/locales/locale-',
            suffix: '.json'
        })
        .preferredLanguage(window.taigaConfig.defaultLanguage || 'en')

    if not window.taigaConfig.debugInfo
        $translateProvider.fallbackLanguage([window.taigaConfig.defaultLanguage || 'en'])


init = ($log, $config, $rootscope, $auth, $events, $analytics, $translate) ->


    $provide.factory("authHttpIntercept", ["$q", "$location", "$tgNavUrls", "lightboxService", authHttpIntercept])

    $httpProvider.interceptors.push("authHttpIntercept")

    # If there is an error in the version throw a notify error.
    # IMPROVEiMENT: Move this version error handler to USs, issues and tasks repository
