3

The following code bind the sanitized html to a div

<div ng-bind-html="vm.html" ng-if="vm.isLoaded" ng-cloak></div>

The css classes inside the html content did not takes effect after displayed until I manually refresh the page. Did I miss out anything here?

vm.html content

<div class="pslider">
 <div class="slide"><img src="img1" /></div>
 <div class="slide"><img src="img2" /></div>
 <div class="slide"><img src="img3" /></div>
</div>
user3227412
  • 187
  • 1
  • 2
  • 16

0 Answers0