fixed a break for typeahead that seems to be caused by the latest angular
version.
found out that error was caused due to jquery not initializing before
angular for the given frameworks. readjusted code without having to
initialize angular twice. works cleanly.