Last active
December 15, 2015 03:19
-
-
Save cacciatc/5193522 to your computer and use it in GitHub Desktop.
ngRepeat Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tr ng-repeat="player in players"> | |
<td> | |
{{player.score | number:2}} | |
</td> | |
<td> | |
{{player.name}} | |
</td> | |
<td> | |
{{player.pos}} | |
</td> | |
<td> | |
{{player.slg | number:3}} | |
</td> | |
<td> | |
{{player.obp | number:3}} | |
</td> | |
<td> | |
<img ng-src="{{'img/'+player.team+'.gif'}}" width="21px"/> | |
{{player.team}} | |
</td> | |
</tr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment