we have some really large calculations would {{ somefunc( price, quantity ) 
}} still setup watchers for price and quantity change.
The goal is to let the client do the calculations so I don't have two 
versions of the engine to keep in sync( client , server).  This also means 
that the entity will have Total properties that we need to update when 
properties visible on other views are changed so that when saved(some 
totals participate in other totals as well), the data is searchable later.

On Thursday, February 13, 2014 3:53:22 PM UTC-8, Martin Alix wrote:
>
> Angular should be able to do that for you. For example in {{ price * 
> quantity }}, if you change price or quantity, the expression would be 
> updated automatically...
> Is that what you were about?
> One caveat is if you have really large lists, they can have a lot of 
> watchers automatically set on them, so you might want to use some type of 
> "non-watching list"...
> There are some ready made modules available...

-- 
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/groups/opt_out.

Reply via email to