After inspecting the source code of a website built with Angular today, I came across a snippet that made me ponder whether it's advisable to have such elements visible to everyone.
ul class="nav-account desktop-only" ng-show="!User.isAuthenticated" ng-cloak
While I acknowledge the security measures on the back-end prevent tampering with these parameters, I'm left questioning if this is considered best practice or if there are better alternatives available.