<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title"><i class="fa fa-lg fa-exclamation-circle"></i>&nbsp;Clear All</h4>
      </div>
      <div class="modal-body">
        All fields will be cleared.
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="$event.stopPropagation();clearAll();$hide()">OK</button>
      </div>
    </div>
  </div>
</div>