rpm-ostree/fedostree/web/app.js
Colin Walters bab1d6ce31 fedostree/web: Split up into separate pages
This is just less overwhelming.
2014-02-12 18:46:09 -05:00

30 lines
826 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',
controller: 'rpmostreeHomeCtrl'
}).
when('/installation', {
templateUrl: 'partials/installation.html'
}).
when('/background', {
templateUrl: 'partials/background.html'
}).
when('/implementation', {
templateUrl: 'partials/implementation.html'
}).
otherwise({
redirectTo: 'partials/unknown.html',
});
}]);
})(window);