title: Cursor (caret ) moves to beginning when call on change event on contenteditable div using angular js
body: <p>The cursor gets moved to the beginning instead of being set to last type position when the change event is fired. I am using content editable div using angular js.</p>
  
  <p>plunker </p>
  
  <p><a href="http://plnkr.co/edit/FFaWNZmgk00Etubtjgg8?p=preview" rel="nofollow">http://plnkr.co/edit/FFaWNZmgk00Etubtjgg8?p=preview</a> </p>
  
  <p>Why does the cursor position move to beginning?</p>