Hi Raju,
If u are iterating throgh loop for dropdowns u can do it as
For loop {
()function(args)
{
Call promise or ajax call and use args as dropdown data
}(params as dropdown data);
}It will solve ur problem. On Jul 12, 2014 5:46 PM, "Raju Smiles" <[email protected]> wrote: > I need to load 4 dropdowns with $http ajax request , so that i used for > loop but ajax is asynchronous in nature . so i am getting last dropdown > data only.i am loosing remaining 3 dropdowns data. how can i load 4 > dropdowns at a time > > -- > 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. > -- 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.
