<div class="modal-overlay" ng-class="{'open': vm.modalOpen}">
    <div class="modal-container">
        <header class="modal-header">
            <h1 class="title">{{vm.modalComponent.headerText}}</h1>
            <i class="close icon-plus-cross" ng-click="vm.modalComponent.closeAction()"></i>
        </header>

        <section class="modal-content" ng-include="vm.modalComponent.innerContent">
        </section>
    </div>
</div>