I want to create a angular form generator. I have template like this:
<script type="text/ng-template" id="textarea.html">
<div class="items form-group">
<label class="col-sm-2 control-label">
{{item.title}}
</label>
<div class="col-sm-10">
<textarea ng-model="task.title" placeholder="{{item.placeholder}}" class="form-control"></textarea>
</div>
</div>
</script>
and when user add this template that generate Angular html code like this:
<div class="items form-group">
<label class="col-sm-2 control-label">
{{item.title}}
</label>
<div class="col-sm-10">
<textarea ng-model="task.title" placeholder="{{item.placeholder}}" class="form-control"></textarea>
</div>
</div>
With this example my template code rendered but I don't want render it and just show angular html code. If you have any suggestion, please change this code.