requirejs.config({
  appDir: '.',
  baseUrl: 'scripts',
  // Set paths
  paths:{
    'angular':              ['../vendor/angular-1.2.4/angular.min'],
    'angular-route':        ['../vendor/angular-1.2.4/angular-route.min'],
    'bootstrap':            ['../vendor/bootstrap-3.0.1/js/bootstrap.min'],
    'colorbrewer':          ['../vendor/colorbrewer/colorbrewer.v1.min'],
    'd3':                   ['../vendor/d3-3.3.6/d3.min'],
    'domReady':             ['../vendor/requirejs-domready-2.0.1/domReady'],
    'jquery':               ['../vendor/jquery-1.10.2/jquery.min']
  },
  // Set dependencies
  shim: {
    'angular':              {exports: 'angular'},
    'angular-route':        ['angular'],
    'bootstrap':            ['jquery'],
    'd3':                   ['jquery']
  }
});

require([
    'angular',
    'app',
    'routes'
  ],
  function(ng, app){

    // Kickstart application
    app.bootstrap();

  }
);


requirejs.config({
  appDir: '.',
  baseUrl: 'scripts',
  // Set paths
  paths:{
    'angular':              ['../vendor/angular-1.2.4/angular.min'],
    'angular-route':        ['../vendor/angular-1.2.4/angular-route.min'],
    'bootstrap':            ['../vendor/bootstrap-3.0.1/js/bootstrap.min'],
    'colorbrewer':          ['../vendor/colorbrewer/colorbrewer.v1.min'],
    'd3':                   ['../vendor/d3-3.3.6/d3.min'],
    'domReady':             ['../vendor/requirejs-domready-2.0.1/domReady'],
    'jquery':               ['../vendor/jquery-1.10.2/jquery.min']
  },
  // Set dependencies
  shim: {
    'angular':              {exports: 'angular'},
    'angular-route':        ['angular'],
    'bootstrap':            ['jquery'],
    'd3':                   ['jquery']
  }
});

require([
  'app',
  'routes'
],
function(app){

  // Kickstart application
  app.bootstrap();

});


remove dependency