zensh/ui-autocomplete — pull request #17 by RobeeeJay (2014-09-02 15:14:16+00:00)
Title: ngModel and onlySelect results in undefined model

Bug fix for you!

indexOf returns -1 for a match, not zero, causing the ngModel to always be empty when onlySelect is true.