In a webpage that I am building I am using AngularJS ng-hide to show-hide an element(basically a button). But what it actually does is simply add a class ng-hide to that element.
So anybody can go to developer tools and remove the class ng-hide and the button will be visible. I know using jQuery I can completely remove the element from HTML but is there a way to do that in angular?
Before it looks like this:
<button ng-hide="hide">Button</button>
And after hiding it looks like:
<button class="ng-hide">Button</Button>