Is there a way to dynamically show/hide the navigation bar depending on the type of user logged in? For example, one user may have access to 4 menu items while another may only have access to 3.
Here is an image for reference: https://i.sstatic.net/hCVD3.png
I am looking to use custom HTML attributes to set {display:none;}
based on certain conditions. How can I achieve this?
I am hoping for a solution similar to Angular's ng-show
or ng-if
.