0
<div ng-show="IsExists" ng-cloak>
 <span>The value is exists</span>
</div>

Then i have added the below lines in my app.css

But still i am seeing the initial flickering of ng-show block

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

The above stuff is not working on Firefox.

user6131488
  • 85
  • 1
  • 13

1 Answers1

0

Use ng-if it won't be loaded into the DOM at all then. ng-show applies display: none ng-if removes from the DOM.

CHAZTATS
  • 114
  • 8