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
<input id="searchText" ng-model="searchText" type="text"
class="input-medium search-query" placeholder="title"
data-provide="typeahead" ng-change="updateTypeahead()" />
will not pass DOM element to the function
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
Blockquote Please Note : ng-change function doesn't allow to pass $event as variable.