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 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.

Reply via email to