mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-12 08:18:44 +00:00
Moved api call to a service
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<!--leftsidebar-->
|
||||
</div>
|
||||
<div class="col-md-8" style="padding-left: 2%;">
|
||||
<div class="container" ui-view="main" ng-controller="homeController">
|
||||
<div class="container" ui-view="main" ng-controller="tournamentsController">
|
||||
<h2>All Tournaments</h2>
|
||||
<br>
|
||||
<table class="table">
|
||||
@@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="tournament in query">
|
||||
<tr ng-repeat="tournament in allTournaments">
|
||||
<td>{{ tournament.name }}</td>
|
||||
<td>{{ tournament.address }}</td>
|
||||
<td>{{ tournament.director }}</td>
|
||||
@@ -65,7 +65,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
|
||||
Reference in New Issue
Block a user