2015-04-12 08:42:47 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('markdownFormatWdiffApp')
|
|
|
|
.config(function ($routeProvider) {
|
|
|
|
$routeProvider
|
|
|
|
.when('/', {
|
|
|
|
templateUrl: 'app/compare/create/create.html',
|
|
|
|
controller: 'CompareCreateCtrl'
|
|
|
|
})
|
|
|
|
.when('/:id', {
|
|
|
|
templateUrl: 'app/compare/show/show.html',
|
|
|
|
controller: 'CompareShowCtrl'
|
2015-05-26 16:41:06 +02:00
|
|
|
})
|
|
|
|
.when('/:id/:format', {
|
|
|
|
templateUrl: 'app/compare/show/show.html',
|
|
|
|
controller: 'CompareShowCtrl'
|
2015-04-12 08:42:47 +02:00
|
|
|
});
|
|
|
|
});
|