<div class="contentment" ng-class="vm.uniqueId" ng-controller="Umbraco.Community.Contentment.DataEditors.TextInput.Controller as vm">
    <div class="text-input" ng-class="{ 'input-prepend': vm.prepend, 'input-append': vm.append }">
        <span class="add-on" ng-if="vm.prepend">
            <umb-icon icon="{{vm.prepend}}" class="icon medium"></umb-icon>
        </span>
        <input ng-model="model.value"
               ng-trim="false"
               id="{{model.alias}}"
               class="umb-propert