db3625ec91
- Use new "Font Awesome" icons. - Sorting columns. - Filter table. - New focusMe directive. - Delete user - Use ui-sref. - Use angular-gettext for i18n. - Added sample po files for DE and FR. - group views - use google coding style (2 spaces, optional end tags, etc)
22 lines
601 B
JavaScript
22 lines
601 B
JavaScript
angular.module('OpenSlidesApp', [
|
|
'ui.router',
|
|
'js-data',
|
|
'gettext',
|
|
'OpenSlidesApp.core',
|
|
'OpenSlidesApp.agenda',
|
|
'OpenSlidesApp.assignments',
|
|
'OpenSlidesApp.users',
|
|
])
|
|
|
|
.config(function($urlRouterProvider, $locationProvider) {
|
|
// define fallback url and html5Mode
|
|
$urlRouterProvider.otherwise('/');
|
|
$locationProvider.html5Mode(true);
|
|
})
|
|
|
|
.config(function($httpProvider) {
|
|
// Combine the django csrf system with the angular csrf system
|
|
$httpProvider.defaults.xsrfCookieName = 'csrftoken';
|
|
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
|
|
});
|