15 lines
363 B
JavaScript
15 lines
363 B
JavaScript
|
'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'
|
||
|
});
|
||
|
});
|