<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header" >
        <button type="button" class="close" ng-click="$hide()">&times;</button>
        <h4 class="modal-title">Assign this device?</h4>
      </div>
      <div class="modal-body">
        <p class="text-center">Assign the device with ID<br><strong>{{selectedMac | macAddress}}</strong></p>
        <p class="text-center">As the remote control for<br><strong>{{selectedRemote.roomName}}</strong></p>
      </div>
      <div class="modal-footer">
        <button class="btn btn-primary" ng-click="assignRemote(); $hide()"> Yes</button>
        <button class="btn btn-danger" ng-click="$hide()"> Cancel</button>
      </div>
    </div>
  </div>
</div>
