<div class="starter-template container">
    <div ng-repeat="obj in object">
        <div class="info-block-header">
            <h3>{{model}}</h3>
        </div>
        <div class="table-responsive">
            <table class="table">
                <thead ng-if="obj.type==='table-multiRow'">
                    <tr>
                        <td ng-repeat="(key, value) in obj[0]">{{key}}</td>
                    </tr>
                </thead>
                <tbody ng-if="obj.type==='table-multiRow'">
                    <tr ng-repeat="row in obj.fields">
                        <td ng-repeat="(k,v) in row">{{v}}</td>
                    </tr>
                </tbody>
                <tbody ng-if="obj.type==='table'">
                    <tr ng-repeat="(key, value) in obj.fields">
                        <td class="col-md-2">{{key}}</td>
                        <td class="col-md-8">{{value}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>