M
M
moveOn2018-06-29 17:48:38
JavaScript
moveOn, 2018-06-29 17:48:38

How to set the base visibility of an element for ng-show?

I control the visibility of elements through ng-show. But the trouble is that while the page is loading these elements are visible, and after initialization they disappear in accordance with ng-show. For the user, it does not look very nice. How can I make the element hidden by default from the very beginning of the page load? Tried display:none in css - doesn't help. ng-show adds the same style to the element. But existing does not remove.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question