23 lines
687 B
JavaScript
23 lines
687 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular.module('ariaNg').config(['$routeProvider', function ($routeProvider) {
|
|
$routeProvider
|
|
.when('/downloading', {
|
|
templateUrl: 'views/list.html',
|
|
controller: 'DownloadListController'
|
|
})
|
|
.when('/waiting', {
|
|
templateUrl: 'views/list.html',
|
|
controller: 'DownloadListController'
|
|
})
|
|
.when('/stopped', {
|
|
templateUrl: 'views/list.html',
|
|
controller: 'DownloadListController'
|
|
})
|
|
.otherwise({
|
|
redirectTo: '/downloading'
|
|
});
|
|
}]);
|
|
})();
|