2015-02-06 16:46:55 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('markdownFormatWdiffApp', [
|
|
|
|
'ngCookies',
|
|
|
|
'ngResource',
|
|
|
|
'ngSanitize',
|
|
|
|
'ngRoute',
|
|
|
|
'ui.bootstrap',
|
|
|
|
'btford.markdown'
|
|
|
|
])
|
|
|
|
.config(function ($routeProvider, $locationProvider, $httpProvider) {
|
|
|
|
$routeProvider
|
2015-04-12 06:37:38 +02:00
|
|
|
.otherwise ({
|
2015-02-06 16:46:55 +01:00
|
|
|
redirectTo: '/'
|
|
|
|
});
|
|
|
|
|
|
|
|
$locationProvider.html5Mode(true);
|
|
|
|
})
|