rpm-ostree/fedostree/web/app.js
Colin Walters fd3cc772cd fedostree/web: New basic web page
Remove its README.md.
2014-01-12 16:26:01 -05:00

23 lines
557 B
JavaScript

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