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
Post a Comment