I wanted to know the relative ( performance ) costs of adding an expression
in a template and a function.


so if I have for a hypothetical example an ng-disabled in the template

example for expression in template.

....ng-disabled="isDisabled || isReadOnly || IsTerminal" ...


example of function in template :

....ng-disabled="isButtonDisabled()" ...


isButtonDisabled might internally be calling the same expression.

The quesition is : Performance wise - how are these two different! Are they
different at all ? What are the performance implications of both.

-- 
Regards,
Ganaraj P R

-- 
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.

Reply via email to