25 lines
600 B
JavaScript
25 lines
600 B
JavaScript
'use strict';
|
|
|
|
/* Rich App - for SD, AC, SD-Report, SkillsMatrix */
|
|
if (typeof app === 'undefined') {
|
|
var app = angular.module('app', [
|
|
'xeditable',
|
|
'ngRoute',
|
|
'ui.select',
|
|
'dnd', // drag and drop
|
|
'uiDirectives',
|
|
'enVisageServices'
|
|
]);
|
|
|
|
app.run(['editableOptions', function (editableOptions) {
|
|
editableOptions.theme = 'bs3'; // bootstrap3 theme. Can be also 'bs2', 'default'
|
|
}]);
|
|
|
|
app.config(['$routeProvider',
|
|
function ($routeProvider) {
|
|
$routeProvider.
|
|
when('/Scenarios/Details/:id', {
|
|
controller: 'scenarioDetailsCalendarController'
|
|
});
|
|
}]);
|
|
} |