Hi Ganaraj Unless your expression/function is executed 10.000 or more times, the difference is of no importance. You can do some micro bench-marking, to find out what is faster. If you do this, you will find out that it is highly dependable on the expression / function you are executing. Depending on that, sometimes a expression is faster, while at other times, a function is faster.
To be short, don't optimize premature! Regards Sander -- 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.
