s="button.cssClass" class="edit-button"
                        aria-label="{{button.title | translate}}"  aria-hidden="false" ng-if="ctrl.filter(button) && !ctrl.readOnly"
                        ng-repeat="button in ctrl.options.elementButtons"
                >
                    <md-tooltip md-direction="top"><span>{{button.title | translate}}</span></md-tooltip>
                    <i class="{{button.icon}}"></i> {{button.text}}
                </button>
            </span>
            <span ng-switch