How can I pass option changes to Angular-UI ui-select2?
问题 angular-ui's ui-select2 documentation shows that you can do something like the following: myAppModule.controller('MyController', function($scope) { $scope.select2Options = { allowClear:true }; }); <select ui-select2="select2Options" ng-model="select2"> <option value="one">First</option> <option value="two">Second</option> <option value="three">Third</option> </select> However, changes to $scope.select2Options after that point do nothing. It would be nice if ui-select2 would watch