<div class="modal-header">
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  <h3>{{panel.title}} Editor</h3>
</div>
<div class="modal-body">

  <h4>General <small> panel settings</small></h4>
  <div ng-include src="'/kibana3/partials/panelgeneral.html'"></div>

  
  <h4 style="text-transform: capitalize;">{{panel.type}} <small> panel settings</small></h4>
  <div ng-include src="edit_path(panel.type)">No additional settings are available for this type of panel.</div>
  
</div>
<div class="modal-footer">
  <!-- close_edit() is provided here to allow for a scope to perform action on dismiss -->
  <button type="button" class="btn btn-success" ng-click="close_edit();dismiss()">Close</button>
</div>
