<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header" ng-show="title">
        <h4 class="modal-title">{{title}}</h4>
      </div>
      <div class="modal-body">
        The device name <strong class="text-primary">{{device.name}} </strong> already exists in this room. Are you sure you want to continue with this name?
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" auto-focus ng-click="getBrandsFromDB(); $hide()">Yes</button>
        <button type="button" class="btn btn-danger" ng-click="$hide()">No</button>
      </div>
    </div>
  </div>
</div>
