<form name="form" novalidate>
  <div class="modal-header">
    <h3>{{data.title}}</h3>
  </div>

  <div class="modal-body">
    <p>{{data.message}}</p>
  </div>

  <div class="modal-footer">
    <button type="button" class="btn btn-default" ng-click="$dismiss()">Cancel</button>
    <button type="button" class="btn btn-primary" ng-click="$close()" ng-auto-focus="true">OK</button>
  </div>
</form>
