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 angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.