1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 22:44:14 +00:00

Trying to get routes working but they are not working at the moment. Also moved the tournaments search and table to its own page

This commit is contained in:
2016-03-22 11:29:32 +00:00
parent 97ec2971a5
commit 2c44bc9845
5 changed files with 73 additions and 31 deletions

View File

@@ -1 +1,10 @@
var app = angular.module("wrestlingdev", []);
var app = angular.module("wrestlingdev", ["ngRoute"]).run(function($rootScope) {
// adds some basic utilities to the $rootScope for debugging purposes
$rootScope.log = function(thing) {
console.log(thing);
};
$rootScope.alert = function(thing) {
alert(thing);
};
});