In dropdown, i have values like active and inactive. Initially it displayed
as active. If i'll change it changes in the DB also. If i have 50 users it
run 50 times initially. Thats my problem.

On Sat, Feb 27, 2016 at 12:25 PM, Sander Elias <[email protected]>
wrote:

> Hi Subha,
>
> If it has such a big impact on your performance, why do you not check in
> your function or it’s needed at all? Keep an copy of the old val and do
> something like ìf (old===new) {return} in the top of your function.
>
> Aside from that, I don’t understand what you are asking, do you want it to
> fire at startup, or do you need to prevent it??
>
> Regards
> Sander
> ​
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/eW57YUoPPpI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to