Hi, Interpolation is a great concept for providing content in a dynamic way. The drawback are some significant performance limitations if you overuse the feature in your views. Why: because every interpolation will register a watch expression on the current scope to take part in the $digest cycles.
So for not static content which will be provided through angular mechanism I wanted to get rid of the watch. (Possible scenarios whould be i18n labels for example) My current solution is, to build an angular filter which will remove the watch of the interpolation on the first evaluation. An example implementation can be reviewed here http://plnkr.co/edit/vLB2SaVeenHdq527mfDX Now my question: Is that one a good idea? greetings from austria Johann --------- Angular team keep up the great work! Angular community - simply the best I know! -- 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.
