Thank you so much Majid! On Thursday, October 17, 2013 1:36:50 AM UTC-7, Majid Burney wrote: > > They've only disallowed accessing DOM nodes in expressions, not in > directives. Your code is only broken because of Coffeescript's bad habit of > automatically returning the last value in a function's scope. Angular > detects that the function has returned a DOM node and throws an exception > to keep you safe. Add an explicit "return" to the end of each of those > functions and they should work fine. >
-- 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.
