(function () {
  'use strict';

  angular.module('ramlEditorApp', [
    // angular
    'ngResource',
    'ngSanitize',

    // angular-ui
    'ui.bootstrap.modal',
    'ui.bootstrap.tpls',
    'ui.tree',

    // console
    'ramlConsoleApp',

    // project
    'codeMirror',
    'fs',
    'helpers',
    'raml',
    'stringFilters',
    'utils',
    'lightweightDOM',
    'splitter',
    'validate',
    'autoFocus',
    'rightClick',
    'dragAndDrop'
  ])
    .run(function ($window) {
      // Adding proxy settings for api console
      $window.RAML.Settings.proxy = '/proxy/';
    })
  ;
})();
