Hi Scott,
Yep *ngIf
is it. You can create your own structural directives if you want. For example, you could create an *userHasPermission
directive.
Those will really take out the DOM nodes. But you should be less concerned about your DOM nodes. Angular allows you to focus on your data. DOM is just a way to represent it to your user.
Regards
Sander
--
You received this message because you are subscribed to a topic in the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/oBG5XjIzr18/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.