mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-12 00:09:32 +00:00
Made login form look better and made user
menu look better.
This commit is contained in:
11
frontend/app/js/controllers/my-tournaments.js
Normal file
11
frontend/app/js/controllers/my-tournaments.js
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
app.controller("myTournamentsController", function($scope, tournamentsService, $rootScope) {
|
||||
|
||||
tournamentsService.getMyTournaments().then(function(data) {
|
||||
//this will execute when the
|
||||
//AJAX call completes.
|
||||
$scope.allTournaments = data;
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user