I use both Bootstrap and AngularJS in my web app. I\'m having some difficulty getting the two to work together.
I have an element, which has the attribute data
updateTypeahead(this)
will not pass DOM element to the function updateTypeahead(this). Here this will refer to the scope. If you want to access the DOM element use updateTypeahead($event). In the callback function you can get the DOM element by event.target.
Please Note : ng-change function doesn't allow to pass $event as variable.