<div class="wizard-chart-configuration-preview" ng-controller="ChartModulePreviewController as chartModulePreview">
    <div class="chart-module-preview-type-switch">
        <i class="fa fa fa-line-chart" aria-hidden="true" ng-if="chartModulePreview.previewType == 'TABLE' && chartModulePreview.isChartViewAvailable(chartModulePreview.scope.chartConfiguration.chartType)" ng-click="chartModulePreview.setPreviewType('CHART')"></i>
        <i class="fa fa-table" aria-hidden="true" ng-if="chartModulePreview.prev