app/assets/templates/player/addPlayerMenu.html
<div class="modal-header">
<div class="row">
<div class="col-xs-8">
<h3 class="modal-title">Add {{playerToAdd.full_name}}</h3>
<p>Current Salary: {{playerToAdd.display_user_team_salary}} <br />
Salary After Adding: {{playerToAdd.adding_player.display_new_salary}}</p>
</div>
<div class="col-xs-4">
<a confirmed-click="addPlayer()"
class="btn btn-info"
ng-confirm-click="Would you like to Sign {{playerToAdd.full_name}}?">
Add</a>
</div>
</div>
</div>
<div class="modal-body">
<ul class="list-group">
<li class="list-group-item list-group-item-success" ng-repeat="playerToRelease in playerToAdd.adding_player.players_to_release">
<div class="row">
<div class="col-xs-8">
Release: {{playerToRelease.full_name}}<br />
Player Salary: {{playerToRelease.salary}}<br />
New Team Salary: {{playerToRelease.new_salary}}
</div>
<div class="col-xs-4">
<a confirmed-click="replacePlayer(playerToRelease.id)"
class="btn btn-info"
ng-confirm-click="Would you like to Sign {{playerToAdd.full_name}} and Release {{playerToRelease.full_name}}?">
Release</a>
</div>
</div>
</li>
</ul>
</div>
<div class="modal-footer">
<button class="btn btn-warning" ng-click="close($event)">Close</button>
</div>