window.name = 'NG_DEFER_BOOTSTRAP!';

require.config({
    waitSeconds: 30,
    baseUrl : '/printsmart/app/',
    paths: {
        'authentication'  : 'services/authentication',
        'angular'         : 'libs/angular-flex/angular-flex',
        'ngRoute'         : 'libs/angular-route/angular-route.min',
        'ngCookies'       : 'libs/angular-cookies/angular-cookies.min',
        'ngAnimate'       : 'libs/angular-animate/angular-animate.min',
        'domReady'        : 'libs/requirejs-domready/domReady',
        'text'            : 'libs/requirejs-text/text',
        'jquery'          : 'libs/jquery/dist/jquery.min',
        'bootstrap'       : 'libs/bootstrap/dist/js/bootstrap.min',
        'lodash'          : 'libs/lodash/lodash.min',
        'angular-growl'   : 'libs/angular-growl/build/angular-growl.min',
        'moment'          : 'libs/moment/min/moment.min'
    },
    shim: {
        'libs/angular/angular.min' : { deps : ['jquery'] },
        'angular'                  : { deps : ['libs/angular/angular.min'] },
        'ngRoute'                  : { deps : ['angular'] },
        'ngCookies'                : { deps : ['angular'] },
        'ngAnimate'                : { deps : ['angular'] },
        'bootstrap'                : { deps : ['jquery' ] },
        'angular-growl'            : { deps : ['angular'] },
    },
});

// BOOT

require(['angular', 'domReady!', 'bootstrap', 'app', 'routes', 'template', 'services/machine-authorization-http-intercepter'], function(ng, doc) {
    ng.bootstrap(doc, ['app']);
    ng.resumeBootstrap();
});

// MISC

//==================================================
// Protect window.console method calls, e.g. console is not defined on IE
// unless dev tools are open, and IE doesn't define console.debug
//==================================================
(function fixIEConsole() { 'use strict';

    if (!window.console) {
        window.console = {};
    }

    var methods = ["log", "info", "warn", "error", "debug", "trace", "dir", "group","groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd", "dirxml", "assert", "count", "markTimeline", "timeStamp", "clear"];
    var noop    = function() {};

    for(var i = 0; i < methods.length; i++) {
        if (!window.console[methods[i]])
            window.console[methods[i]] = noop;
    }
})();

@@ -1,42 +1,4 @@
-window.name = 'NG_DEFER_BOOTSTRAP!';%0A%0A
 requ
@@ -1347,17 +1347,11 @@
 ', '
-domReady!
+app
 ', '
@@ -1361,23 +1361,16 @@
 tstrap',
- 'app',
  'routes
@@ -1453,15 +1453,62 @@
 ng, 
-doc) 
+app) %7B%0A    ng.element(document).ready(function()
 %7B%0A
+    
     
@@ -1527,24 +1527,32 @@
 (doc
+ument
 , %5B
-'
 app
-'
+.name
 %5D);%0A    
 ng.r
@@ -1551,27 +1551,9 @@
     
-ng.resumeBootstrap(
+%7D
 );%0A%7D

Update application boot