ngRepeat Over Unknown Object

This fiddle shows how you might perform an ng-repeat against an unknown object. You'd clearly have to wrap this in another ng-repeat where it repeated all items in an array.

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<div ng-app="app">
    <table ng-controller="ctrl">
        <thead>
            <tr>
                <th ng-repeat="(key, val) in o">{{key}}</th>
            </tr>
        </thead>
        <tr>
            <td ng-repeat="(key, val) in o">{{val}}</td>
        </tr>
    </table>
</div>

JavaScript

var obj1 = {
    field1: 'field 1',
    field2: 'field 2',
    field3: 'field 3',
    field4: 'field 4'
};

var mod = angular.module('app', []);
mod.controller('ctrl', function ($scope) {
    $scope.o = obj1;
});