I have a trouble with angular-chosen
select, it's not updating ng-model
, when selected option changes.
angular-chosen
plugin:
https://github.com/leocaseiro/angular-chosen
Link to plunker
to reproduce this issue:
http://embed.plnkr.co/LqlLP3DnHj0hvDdyVqeU/
You have two issues:
1) In the official doc they say:
So inside your controller init the variable:
2) You have an issue with the order you included your dependencies in the
index.html
. Change the order in this way:After these changes your sample works like charm
I hope it helps