When I want something to start as hidden with ng-show , you can simply add class="ng-hide" , so css will hide the element in advance. Thus, the item will not be displayed when the page is still loading
I want to do the same using ng-if , but I don't know how to do it
source share