text: 'use strict';
  
  var angular = require('angular');
  
  // angular modules
  require('angular-ui-router');
  require('angular-bootstrap');
  require('./templates');
  require('./controllers/_index');
  require('./services/_index');
  require('./directives/_index');
  
  // create and bootstrap application
  angular.element(document).ready(function() {
  
      var requires = [
          'ui.router',
          'ui.bootstrap',
          'templates',
          'app.controllers',
          'app.services',
          'app.directives'
      ];
  
      // mount on window for testing
      window.app = angular.module('app', requires);
  
      angular.module('app').constant('AppSettings', require('./constants'));
  
      angular.module('app').config(require('./on_config'));
  
      angular.module('app').run(require('./on_run'));
  
      // bootstrap removes need for ng-app directive
      angular.bootstrap(document, ['app']);
  
  });
  