<div name="{{property.name}}" style="display: flex" ng-switch-when="date"> <input type="text" class="form-control" uib-datepicker-popup="dd/MM/yyyy" ng-model="property.value" is-open="property.opened" datepicker-options="{minMode: 'day'}" datepicker-mode="'day'" placeholder="{{'COMMON.INPUT_TIP' | translate : property.tip }}" current-text="{{'CALENDAR.TODAY' | translate }}" clear-text="{{'CALENDAR.CLEAR' | translate }}" close-text="{{'CALENDAR.DONE' | translate }}" readonly="true"/> <span> <button type="button" class="btn btn-default" ng-click="open(property)"><i class="glyphicon glyphicon-calendar"></i></button> </span> </div>