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