AngularJS - How to refer transcluded element in the link function -
here's link source code: http://plnkr.co/edit/ordlkqgrorgk6q0akeli?p=preview.
have created 2 directives in parent-child relation. child directive has ng-repeat
associated it. ng-repeat
has priority of 1000, had increase priority of child directive link function of my-child-directive
called first followed my-parent-directive
.inside child directive's link function, using transclusion add compiled elements.
question: there way reference of transcluded <div> elements through ng-repeat?
Comments
Post a Comment