Issue 1338  

https://github.com/mgcrea/angular-strap/issues/1338

I didn't see the reason for this line of code in \src\typeahead\typeahead.js.

Line 228
controller.$render();

It was causing the input text to be replaced and the cursor sent to end of the line. This resolves it.

(Sorry the gulp build generated a lot of changes but it's only typeahead.js that changed in this pull request)