I have the following:
<div class="row" ng-repeat="item in repo.items">
<div class="col-md-6 segment">
<div class="display-text animation editable">
<pre><span class="contenteditable"
tabindex="0"
contenteditable="true"
ng-model="item.text"></span></pre>
</div>
</div>
</div>
The 2-way binding isn't working for ng-model="item.text", but if I use the expression {{item.text}} within the same iteration it works as it should.
Any specific reason I'm missing which is causing this behavior?
ng-modelis only used for input tags and not span!! use{{item.text}}