easyctf-2017/web/js/ascript.js
2015-12-23 23:29:04 -06:00

22 lines
No EOL
520 B
JavaScript

var app = angular.module("easyctf", [ "ngRoute" ]);
app.config(function($routeProvider) {
$routeProvider.when("/", {
templateUrl: "pages/home.html",
controller: "mainController"
})
.when("/about", {
templateUrl: "pages/about.html",
controller: "mainController"
})
.when("/register", {
templateUrl: "pages/register.html",
controller: "mainController"
})
.when("/login", {
templateUrl: "pages/login.html",
controller: "mainController"
})
});
app.controller("mainController", function($scope) {
});