I have a select control with ng-options inside one of my html template (ng-view). I am trying to programmatically change the drop-down list by updating the scope property that contains the dropdownList data array.
The strange thing that is happening is that in IE9 once you click the drop-down and then try to update the list it does not work and keep showing the old set of values on the UI. Whereas it works absolutely OK in chrome. I have created a small fiddle http://jsfiddle.net/hiteshaneja/mcVfK/193/ to show this. Go to Settings tab, click the drop-down (will be blank by default), and then click the "Click Me" button. In chrome it will show the list with 4 or 2 values alternatively on button click but in IE9 it will keep showing the old values. Has anybody encountered this bizarre scenario? Or has any clue how to fix it? *Note: This problem only comes inside ng-view templates. If i put the dropdown on a normal page, it will work fine in both IE9 and chrome.* Thanks -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
