title: angular ui-bootstrap typeahead callback on selectMatch?
body: <p>I'm using the angular ui-bootstrap typeahead and I would want to use it as a way to pick up many choices, so I'd need to get the selected value when selectMatch method is launched but I can't find how to do that in my controller</p>
  
  <pre><code>&lt;div class='container-fluid' ng-controller="TypeaheadCtrl"&gt;
  &lt;pre&gt;Model: {{selected| json}}&lt;/pre&gt;
  &lt;input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue"&gt;
  </code></pre>
  
  <p></p>
  
  <p>If I watch the selected value, I got the change every time a key is pressed...</p>
  
  <pre><code>scope.$watch('selected', function(newValue, oldValue) {... });
  </code></pre>
  
  <p>I got that the method selectMatch is the one which is called when the user press enter or click on the list but I don't know how to have a callback on that...</p>
  
  <p>Thanks !</p>