text: (function() {
    'use strict';
  
    angular.element(document).ready(function() {
      angular.bootstrap(document, ['app']);
    });
  
    function config($stateProvider, $urlRouterProvider, $logProvider, $httpProvider, $locationProvider) {
      $urlRouterProvider.otherwise('/');
      $logProvider.debugEnabled(false);
      $httpProvider.interceptors.push('httpInterceptor');
      $stateProvider
        .state('root', {
          views: {
            'header': {
              templateUrl: 'src/common/header.tpl.html',
              controller: 'HeaderCtrl'
            },
            'footer': {
              templateUrl: 'src/common/footer.tpl.html',
              controller: 'FooterCtrl'
            }
          }
        });
      $locationProvider.html5Mode(true);
    }
  
    function MainCtrl($log) {
      $log.debug('MainCtrl laoded!');
    }
  
    function run($log) {
      $log.debug('App is running!');
    }
  
    angular.module('app', [
        'ui.router',
        'home',
        'getting-started',
        'common.header',
        'common.footer',
        'common.services.data',
        'common.directives.version',
        'common.filters.uppercase',
        'common.interceptors.http',
        'templates'
      ])
      .config(config)
      .run(run)
      .controller('MainCtrl', MainCtrl)
      .value('version', '1.1.0');
  })();
  