2015-04-12 02:42:47 -04: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 10:41:06 -04:00
|
|
|
})
|
|
|
|
.when('/:id/:format', {
|
|
|
|
templateUrl: 'app/compare/show/show.html',
|
|
|
|
controller: 'CompareShowCtrl'
|
2015-04-12 02:42:47 -04:00
|
|
|
});
|
|
|
|
});
|