Created
October 30, 2014 01:04
-
-
Save idleworx/31ec4720b3f2d7e62d5a to your computer and use it in GitHub Desktop.
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
<table class="table table-striped" ng-if="items.length > 0"> | |
<thead> | |
<tr> | |
<th ng-repeat="field in getFieldsSorted(items[0])"> | |
{{field.description}} | |
</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr ng-repeat="i in items"> | |
<td ng-repeat="field in getFieldsSorted(i)"> | |
{{field.value}} | |
</td> | |
</tr> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment