The issue still persists. Custom directive attribute expression is evaluated only if it's an in-line template. Peter's workaround is not useful when template is too large to fit in as an in-line template.
On Sunday, July 1, 2012 at 10:23:23 AM UTC+3, ItsLeeOwen wrote: > > @Peter Thanks for this workaround x 10! > > http://jsfiddle.net/5P36t/ > > > Peter Bacon Darwin wrote: >> >> Interestingly it works with an in-line template: >> http://jsfiddle.net/5P36t/. So I guess it is to do with when the >> bindings on a cached template are run. >> Pete >> >> -- 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.
