Slightly updated Plnkr: plnkr.co/edit/ULrPP1
On Wed, Jul 23, 2014 at 2:59 PM, Jonathan Matthew Beck <[email protected]> wrote: > I am adapting JSONEdit (https://github.com/mb21/JSONedit), which uses > Angular recursion (having directives create copies of themselves and call > $compile()) to build a tree of nested directives from JSON. > > When I toggle a variable at controller scope level I want for a ng-show="" > to be toggled in each directive. > > Here is the Plunker. You may look at directives.js line 245. This > ng-show="" statement should should text in the tree when the "Toggle Value" > button is pressed. I even debugged this stepping up the > scope.$parent.$parent and it never leads back to the controller. > > http://plnkr.co/edit/Na9Beq > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/ltScZz-c1Fk/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
