Hi Sander,

Here is my updated plunker: 
http://plnkr.co/edit/bgvbduWJet0D6X3yn9OQ?p=preview

Basically, I have some settings.  And I want to display different directive 
by setting. 

One approach is to use ng-if to check the setting and show the directive 
accordingly.  
Another approach is to use a "wrapper" directive to show things according 
to the setting passed in.

Which approach would you use, or do you know of a better approach?

Thanks,

Derek

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