   ng-disabled="file.id" class='form-control' id="fileExternal"/>
            </div>
        </div>

        <div ng-if='!file.id && !file.external' class='form-group'>
            <label class='col-sm-4 control-label' localized>form.file.file</label>
            <div class='col-sm-8'>
                <div class="btn btn-default full-width btn-upload"
                     upload-button
                     url="rest/private/web-ui-files/raw"
                     on-upload="onStartedUpload()"
               