Typeahead AngularStrap: too many $http calls <p>I'm using angularstrap typeahead for autocomplete suggestions via $http. <a href="http://plnkr.co/edit/N5QcvwR90oQah12r1f1N?p=preview" rel="nofollow">Demo here.</a></p> <pre><code> &lt;input type="text" class="form-control" ng-model="selectedAddress" data-animation="am-flip-x" bs-options="address.formatted_address as address.formatted_address for address in getAddress($viewValue)" placeholder="Enter address" bs-typeahead&gt; </code></pre> <p>Everything works fine but everytime I type a letter, a call is made. Even if I set a minLength of 3, a call is made for length one and two. </p> <p>How do I prevent that behaviour? Other thing that happens is when template/controller is loaded, the function getAddress is called...</p>