scripts/apps/dashboard/views/configuration.html
<div ng-if="!widget.custom" class="modal__header modal__header--flex">
<h3 class="modal__heading"><span translate>{{ widget.label }}</span> <span translate>{{ 'Configuration' }}</span></h3>
<a class="icn-btn modal__close" ng-click="$close()"><i class="icon-close-small"></i></a>
</div>
<div ng-if="!widget.custom" class="modal__body">
<div ng-include="widget.configurationTemplate"></div>
</div>
<div ng-if="!widget.custom" class="modal__footer">
<button class="btn" ng-click="saveConfig()"><span translate>Save</span></button>
</div>
<div ng-if="widget.custom" ng-include="widget.configurationTemplate"></div>