akatov / angular-contenteditable

angular model for the "contenteditable" attribute
http://akatov.github.io/angular-contenteditable/
MIT License
176 stars 55 forks source link

not working in ng-repeat #50

Open akashdeepshah opened 8 years ago

akashdeepshah commented 8 years ago

I have used like the code below and it's not working.

 <div class="list card listinfo" ng-repeat="(key,dtls)  in ddetails.details">
  <h2 contenteditable="true" ng-model="dtls.title"></h2>
   <p contenteditable="true"  ng-model="dtls.subtitle"></p>
  </div>

I have also tried like this


   <div class="list card listinfo" ng-repeat="(key,dtls)  in ddetails.details">
      <h2 contenteditable="true" ng-model="ddetails.details[key].title"></h2>
       <p contenteditable="true"  ng-model="ddetails.details[key].subtitle"></p>
  </div>