fix(typeahead): Ensure the cursor visible in the suggestions view

PR for issue #740 

* Update:
I remove the jQuery dependency and use only native angular method.

The function "ensureVisibility" is private and can't be test... It's similar to the "getMatchesAsync" method.
But I had some test on keyboard navigation.

I think, it's the minimal code to calculate the scroll position.