<div class="modal-header">
    <button type="button" class="close closebtn" data-ng-click="vm.cancel()" aria-hidden="true">&times;</button>
    <h1 class="modal-title">{{'Add type' | translate}}</h1>
</div>
<div class="modal-body">
    <label>{{'Name' | translate}}</label>
    <input type="text" class="form-control" ng-model="vm.bindObj.name">
</div>
<div class="modal-footer">
    <button class="btn btn-success" ng-click="vm.ok();">{{'Save' | translate}}</button>
    <button class="btn btn-default" ng-click="vm.cancel();">{{'Cancel' | translate}}</button>
</div>