i have an angular app in which i am using a textbox as follows:
<div class="panel-body text-center">
<textarea id="mytext" class="form-control" rows="4">John,2
Jane,3
John,4
Jane,5
</textarea>
</div>
Here the values John,2...etc are loaded by default. However when i introduce an ng-model to access this data as follows, the default values do not show up anymore. What might be happening?
<textarea id="mytext" ng-model="mytextvalue" class="form-control" rows="4">