<div class="form-group">
  <label class="col-sm-{{$ctrl.labelcols}} control-label" for="{{$ctrl.label}}">{{$ctrl.label | translate}}</label>
  <div class="col-sm-{{$ctrl.inputcols}}">
    <directoryselect model='$ctrl.model' field='$ctrl.field'
    name='{{$ctrl.name}}' onselectdirectory='$ctrl.onselectdirectory({directory: directory})'
    forbiddendirectory='$ctrl.forbiddendirectory'>
    </directoryselect>
  </div>
</div>
