/*global angular */
require.config({
  shim: {
    'angular': {
      exports: 'angular'
    }
  },
  paths: {
    app: 'js/app',
    angular: './components/angular/angular'
  },
  baseUrl: '/'
});

(function() {
  console.time('requirejs');
  require([
    // application
    'app',
    'js/mobile-nav.js',
    'js/lib/event_emitter.js',

    // dependencies
    'angular',
//    'shared/js/async_storage.js',

    // 1p libs
//    'js/lib/date_format.js',
    'js/lib/gibberish-aes.js',
    'js/lib/keychain.js',

    // services
//    'js/services/database.js',
    'js/services/dates.js',
    'js/services/http-cache.js',
    'js/services/install.js',

    // controllers
    'js/controllers/login.js',
    'js/controllers/list.js',
    'js/controllers/detail.js',
    'js/controllers/category.js'
  ], function() {
    console.timeEnd('requirejs');

    angular.bootstrap(document, ['app']);
  });

})();

/*global angular */
require.config({
  shim: {
    'angular': {
      exports: 'angular'
    }
  },
  paths: {
    app: 'js/app',
    angular: './components/angular/angular'
  },
  baseUrl: '/'
});

(function() {
  console.time('requirejs');
  require([
    // application
    'app',
    'js/mobile-nav.js',
    'js/lib/event_emitter.js',

    // dependencies
    'angular',
//    'shared/js/async_storage.js',

    // 1p libs
//    'js/lib/date_format.js',
    'js/lib/gibberish-aes.js',
    'js/lib/keychain.js',

    // services
//    'js/services/database.js',
    'js/services/dates.js',
    'js/services/http-cache.js',
    'js/services/install.js',

    // controllers
    'js/controllers/login.js',
    'js/controllers/list.js',
    'js/controllers/category.js',
    'js/controllers/detail.js'
  ], function() {
    console.timeEnd('requirejs');

    angular.bootstrap(document, ['app']);
  });

})();

Fix bad comma in object
Fix bad comma in object
