Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<div *ngIf="aclService.can('SECTION1:ADD_USER')">
<button>Add User</button>
</div>
<div *ngIf="!aclService.can('SECTION1:ADD_USER')">
<p>Only Admins can add users</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment