angucomplete
angucomplete copied to clipboard
multiple angucompletes in same scope issue
i have 2 angucompletes in the same scope. One of them has a minlength of 1 and the other of 3. The 2nd one's minlength keeps overwriting the first one. The way angucomplete is setup now only allows 1 angucomplete per scope.
The problem was, that the isNewSearchNeeded
method was not a scope method and didn't get the corrent minLegth value.
I made a PR for this.