Typeaheads open on page load using angular 1.3

Typeaheads are being opened on page load when using angular 1.3:

http://plnkr.co/edit/07uRmsrTtsNu0YtU1C2h?p=preview

This PR fixes the issue for me, though not sure if it is the best way not.