﻿<div ng-hide="userTeams.length == 0" ng-controller="userDetailController">
    <table>
        <thead>
            <tr>
                <th>Teams:</th>
            </tr>
            <tr>
                <th>Name</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="team in userTeams">
                <td>
                {{team.Name}}
                <td>
            </tr>
        </tbody>
    </table>
</div>
<div ng-hide="userPlayers.length == 0">
    <table>
        <thead>
            <tr>
                <th>Players:</th>
            </tr>
            <tr>
                <th>First</th>
                <th>Last</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="play in userPlayers">
                <td>{{play.FirstName}}</td>
            </tr>
        </tbody>
    </table>
</div>


﻿<div ng-controller="userDetailController">
    <div ng-hide="userTeams.length == 0" >
        <table>
            <thead>
                <tr>
                    <th>Teams:</th>
                </tr>          
            </thead>
            <tbody>
                <tr ng-repeat="team in userTeams">
                    <td>
                    {{team.Name}}
                    <td>
                </tr>
            </tbody>
        </table>
    </div>
    <div ng-hide="userPlayers.length == 0">
        <table>
            <thead>
                <tr>
                    <th>Players:</th>
                </tr>                
            </thead>
            <tbody>
                <tr ng-repeat="player in userPlayers">
                    <td>{{player.FirstName + " "+player.LastName}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
Fix bug on user detail
Fix bug on user detail
