<script type="text/ng-template" id="uploadImageCKEditorModal.html">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="cancel()">
			<i class="ti ti-close"></i>
		</button>
		<h4 class="modal-title">Upload Image</h4>
	</div>
	<div class="modal-body">
		<a class="btn btn-default" ngf-multiple="false" ngf-select="uploadImage($file)" ngf-pattern="'image/*'" ngf-accept="'image/*'" ngf-max-size="1MB" ngf-model-invalid="invalidFiles">Select</a>
		<span ng-if="invalidFiles">Invalid File. Select Another One.</span>
		<p class="help-block">Only Images up to 1MB.</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-danger" ng-click="cancel()">
			<i class="ti ti-close" style="margin-right: 5px;"></i>
			Cancel
		</button>
	</div>
</script>