angular-selectize
angular-selectize copied to clipboard
Fixes $watch on options model
The reference to $scope.options was being overwritten. This saves what's returned from the generateOptions function and pushes it to an emptied scope.options while keeping its reference.
Resolves #63