angular/angular.js — pull request #9898 by sagens42 (2014-11-04 07:45:16+00:00)
Title: Caret restoring after recompiling the inputs with ng-model

Hello, after upgrading to 1.3.0 I have an issue with caret on recompiled inputs. After enter the value caret jumps to the end of input.
![123](https://cloud.githubusercontent.com/assets/3543513/4896179/aa3709a8-63f5-11e4-888e-e5db02b27256.gif)

**Reproducable:** always
**Angular Version**: >1.3.0
**Browsers:** Chrome 38 and IE 11
**Operating system:** Windows 8.1
**Plnkr:** http://plnkr.co/edit/BMumov7W1t4xp1PYeL1K?p=preview