Fixed some bugs on the string shorting and ignoring the case when searching
Merge branch 'master' of https://github.com/urecio/angucomplete-alt