Edit in JSFiddle

<div ng-app="myApp">
  <script type="text/ng-template" id="myModal.html">
    <div class="modal-header">
      <h3 class="modal-title">Êtes-vous sûr de vouloir supprimer cet élément ?</h3>
    </div>
    <div class="modal-footer">
      <button class="btn btn-primary" ng-click="ok()">OK</button>
      <button class="btn btn-warning" ng-click="cancel()">Annuler</button>
    </div>
  </script>

  <div class="demo" ng-controller="MyCtrl">
    <button type="button" id="demo-button" class="btn btn-danger" ng-click="showModal()">Supprimer</button>
  </div>
</div>