<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">Job Request Data Activity</h4>
      </div>
      <div class="modal-body">
        <div id="job-overview">
          <div class="room">

            <h4 class="room-detail">{{selectedDevice.room.name}}</h4>

            <table class="table">
              <thead>
              <tr>
                <th>{{selectedDevice.device.name}}</th>
                <th class="text-center">Power</th>
                <th class="text-center">Input</th>
              </tr>
              </thead>
              <tbody>
              <tr ng-repeat="activity in selectedDevice.activities">
                <td>{{activity.name}}</td>
                <td class="text-center">
                  <input type="checkbox" ng-checked="activity.type1">
                </td>
                <td class="text-center">
                  <input type="checkbox" ng-checked="activity.type2">
                </td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="$hide()">Close</button>
      </div>
    </div>
  </div>
</div>






