     checksley.updateMessages('default', messages)
 
 
-init = ($log, $rootscope, $auth, $events, $analytics, $translate, $location, $navUrls, appMetaService, loaderService, navigationBarService, errorHandlingService) ->
+init = ($log, $rootscope, $auth, $events, $analytics, $translate, $location, $navUrls, appMetaService,
+        loaderService, navigationBarService, errorHandlingService) ->
     $log.debug("Initialize application")
 
     $rootscope.$on '$translatePartialLoaderStructureChanged', () ->

            responseError: httpResponseError
        }

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

    $httpProvider.interceptors.push("authHttpIntercept")



    # Analytics
    $analytics.initialize()

    # Initialize error handling service when location change start
    $rootscope.$on '$locationChangeStart',  (event) ->
        errorHandlingService.init()

    # On the first page load the loader is painted in `$routeChangeSuccess`
    # because we need to hide the tg-navigation-bar.
