<div class="modal-header">
  <button type="button" class="close" ng-click="$ctrl.dismiss()" ng-disabled="$ctrl.saveInProgress" aria-hidden="true">&times;</button>
  <h4 class="modal-title">Edit: {{$ctrl.dashboard.name}}</h4>
</div>
<div class="modal-body">
  <p>
    <input type="text" class="form-control" placeholder="Dashboard Name" ng-model="$ctrl.dashboard.name">
    </br>
    <select ng-options="dg as dg.dashgroup_name for dg in $ctrl.dashgroups track by dg.id" ng-model="selected" class="form-control ng-pristine ng-valid ng-not-empty ng-touched">
        <option value="0"> None </option> 
    </select>
  </p>
  <p> {{$ctrl.dashgroups[0].dashgroup_name}} </p>
  <div gridster="$ctrl.gridsterOptions" ng-if="$ctrl.items | notEmpty">
    <ul>
      <li gridster-item="item" ng-repeat="item in $ctrl.items" class="widget panel panel-default gs-w">
        <div class="heading">{{item.name}}</div>
      </li>
    </ul>
  </div>
</div>
<div class="modal-footer">
  <button type="button" class="btn btn-default" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.dismiss()">Close</button>
  <button type="button" class="btn btn-primary" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.saveDashboard()">Save</button>
</div>

<div class="modal-header">
  <button type="button" class="close" ng-click="$ctrl.dismiss()" ng-disabled="$ctrl.saveInProgress" aria-hidden="true">&times;</button>
  <h4 class="modal-title">Edit: {{$ctrl.dashboard.name}}</h4>
</div>
<div class="modal-body">
  <p>
    <input type="text" class="form-control" placeholder="Dashboard Name" ng-model="$ctrl.dashboard.name">
    </br>
    <select ng-options="dg as dg.dashgroup_name for dg in $ctrl.dashgroups track by dg.dashgroup_id" ng-model="selected" class="form-control ng-pristine ng-valid ng-not-empty ng-touched">
        <option value="">Select Option</option>
    </select>
  </p>
  <div gridster="$ctrl.gridsterOptions" ng-if="$ctrl.items | notEmpty">
    <ul>
      <li gridster-item="item" ng-repeat="item in $ctrl.items" class="widget panel panel-default gs-w">
        <div class="heading">{{item.name}}</div>
      </li>
    </ul>
  </div>
</div>
<div class="modal-footer">
  <button type="button" class="btn btn-default" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.dismiss()">Close</button>
  <button type="button" class="btn btn-primary" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.saveDashboard()">Save</button>
</div>

Fix values dans le dropwdown + empty value
Fix values dans le dropwdown + empty value
