In my angular app, I'm using ng-bind to display some static information on a modal. Here's the HTML:
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="orgTelephone" lang-tag="ActivityReport.NewContact_Modal_Telephone" class="sr-only">Telephone</label>
<input type="text" class="form-control" id="orgTelephone" ng-bind="contact.telephone" placeholder="Placeholder / Hint Texts">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="orgEmail" lang-tag="ActivityReport.NewContact_Modal_Email" class="sr-only">Email</label>
<input type="text" class="form-control" id="orgEmail" ng-bind="contact.email" placeholder="Placeholder / Hint Texts">
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label for="orgSuggestedFollowup" lang-tag="ActivityReport.NewContact_Modal_Followup" class="sr-only">Follow up</label>
<textarea class="form-control" rows="5" id="orgSuggestedFollowup" ng-bind="contact.followup" placeholder=""></textarea>
</div>
</div>
The thing is, ng-bind is indeed working correctly in my textarea, on the last .row, but it doesn't output anything in my previous input elements.
I don't want to use ng-model because I do not want two-way data binding in this modal. I need to be able to revert any changes if the user presses Cancel, which I can't if I use ng-model.
Is there a way to make one way data-binding work with inputs?