<div id="errorModalTeezily" class="error-modal">
    <!-- Modal content -->
    <div class="error-modal-content">
        <table class="table">
            <tr>
                <th style="width: 50%">Item</th>
                <th>Message</th>
            </tr>
            <tbody ng-if="teezily.messages" ng-repeat="messages in teezily.messages"ng-if="teezily.messages" ng-repeat="messages in teezily.messages">
                <tr ng-repeat="message in messages">
                    <td rowspan="@{{ messages.length }}"  ng-if="$index == 0">
                        @{{ message.split('||')[0] }}
                    </td>
                    <td>
                        @{{ message.split('||').pop() }}
                    </td>
                </tr>
            </tbody>
            
        </table>

        <div class="text-center">
            <button class="btn" onclick="document.getElementById('errorModalTeezily').style.display = 'none'">Close</button>
        </div>
    </div>

</div>