<div ng-controller="Wizdom365MegamenuMenuTypeSelectorController">    
    <div class="form-group" ng-show="vm.contentType != 'Section'">
        <label>{{'Type' | translate}}</label>
        <div class="dropdown">
            <button class="btn btn-default dropdown-toggle" type="button" id="dropdownType" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                {{vm.contentTypeDisplayName}}&nbsp;&nbsp;<span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
                <li ng-show="contentType != 'Section'" ng-repeat="(contentType, template) in vm.templates"><a ng-click="vm.templateChanged(contentType, template)">{{template.DisplayName}} &nbsp;<i class="glyphicon glyphicon-ok" ng-show="vm.contentType == contentType"></i></a></li>
            </ul>
        </div>
    </div>

    <div wizdom-include="vm.ElementTypeTemplate"></div>   
</div>