requirejs.config({
    baseUrl: '/static/js/lib',
    paths: {
        'app': '/static/js/app',
		'partials': '/static/partials',

		'angular': '/static/js/lib/angular',
		'lodash': '/static/js/lib/lodash',
		'angular-ui': '/static/js/lib/angular-ui',
		'text': '/static/js/lib/require/text',
        'jQuery': '/static/js/lib/jQuery',
    },
	shim: {
		'angular/angular-sanitize': {
		    deps: [
				'angular/angular'
			],
		},
		'angular/angular-animate': {
		    deps: [
				'angular/angular'
			],
		},
		'angular/angular-route': {
		    deps: [
				'angular/angular'
			],
		},
		'angular-ui/angular-ui': {
		    deps: [
				'angular/angular'
			],
		},
		'angular/smooth-scroll': {
		    deps: [
				'angular/angular'
			],
		},
	}
});

//BOOTSTRAP ME
require([
		"app/app"
	],
    function(app) {
		angular.bootstrap(document, ['swift']);
    }
);
