Hi Tobi, I first linked the complete example which includes all the code (the full > context), and then I quoted some of it in order to provide the code > fragment that's most relevant for my question. All the rest is in the > linked example. > It stays out of content ;) You asked the wrong question ;)
> > In that context this is needed to realize the 1-way binding from the >> dom-element to the scope. >> > > I see. Is there an alternative approach where it's not necessary to > explicitly parse the CSS values? (In the linked example.) > There are always alternatives. If you set those values, from within your angular app, you don't need to read them back out of the DOM, you already have them! The correct question would be: Is scope.$apply always needed when I want to get information from outside angular? The short answer to that is: Yes. 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/groups/opt_out.
