Hi Taric, Straight from the docs:
> If template is a function, then it isinjected > <https://docs.angularjs.org/api/auto/service/$injector#invoke> with the > following locals: > > - $element - Current element > - $attrs - Current attributes object for the element > > So, your templateUrl function has no access to the scope. Only to the $element and the $attrs. This makes sense, because you need the template before you can compile it. 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/d/optout.
