css - Can i use ng-show with display:none? -


here plunker, happening when refresh page, if ng-show "false", show milliseconds. know why happening, happens because angular hasn't been loaded yet, want use css property "display:none" avoid this, still isn't working...

you may want take @ ng-cloak. example:

<div id="template1" ng-cloak>{{ 'hello' }}</div> 

this prevent browser displaying "#template1" div during brief time hello scope model don't have value.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -