Those fixes resolve the JavaScript errors, but the behavior is wrong; the displayed results are delayed with respect to the search string. md-contact-chips is expected to change (for the best) soon.