angular-bootstrap-select
angular-bootstrap-select copied to clipboard
Watch `ng-options`, Don't copy `ng` classes from select element
Fixed 2 issues I had:
- Whenever changing the contents of the options (via
ngOptions
) the bootstrap-select element doesn't update [http://stackoverflow.com/questions/34183390/how-can-i-write-an-angular-directive-to-listen-to-changes-in-ngoptions](StackOverflow problem) - The
ng-
classes keep getting copied over when doing arefresh
. We don't want that to happen (ex: copiesng-validation
)