Please see: http://plnkr.co/edit/PLSdfgSeOw6L1506hnu7?p=preview
I am confused as to why the accordionSection directive works but the tab directive does not. I'm trying to keep the markup cleaner by adding some ng-show tags in the directive compile function rather than directly in the html. The problem seems to be that if I try to add a tag to the directive element it doesn't work but if I add a tag to a CHILD of the directive element it does. Please, can someone have a look at the above plunk and explain directives scope to me? Thanks so much, 007 -- 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/groups/opt_out.
