<div class="modal-header">
    <h3 class="modal-title">{{form.title}}</h3>
</div>
<div class="modal-body">
    <p>{{form.confirm_message}}</p>
</div>
<div class="modal-footer">
    <button ng-repeat="b in form.buttons" class="btn {{b.style || 'btn-default'}}" type="button" ng-click="form.onClick(b.cmd)">{{b.text}}</button>
</div>