rpm-ostree/fedostree/web/app.js

24 lines
606 B
JavaScript
Raw Normal View History

(function(exports) {
'use strict';
var rpmostree = angular.module('rpm-ostree', [
'ngRoute',
'rpmostreeControllers',
]);
rpmostree.config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'partials/home.html',
controller: 'rpmostreeHomeCtrl'
}).
when('/installation', {
templateUrl: 'partials/installation.html'
}).
otherwise({
redirectTo: 'partials/unknown.html',
});
}]);
})(window);