ng-repeat just acts on the scope array (or object) so to overwrite values, just update the scope reference.
On Tuesday, May 27, 2014 6:50:50 AM UTC-6, Stathis Gaknis wrote: > > I have an ng-select. > Initially the select - options are populated from the server with a > foreach. > Then on an event trigger I want to overwrite these values from an ajax > call. > How can I do this.? > I have already implemented the ajax call but how can I overwrite the > default values? > -- 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/d/optout.
