angular-ui/ui-select — pull request #348 by fdevibe (2014-10-27 14:30:14+00:00)
Title: Add option 'limit' to limit the number of items that can be selected

In multiple mode, use this option to limit the number of items that can be selected at the same time.

Quite possibly a fairly naïve approach. The tests also aren't optimal, but I haven't found a better way to test them without touching more code. At least it is a suggestion. :-)

This addresses #178.