I am making an application using ASP.NET 4.5 web forms and Angulars 1.2.
I often encounter a problem in my web pages, it takes time to load angular, and during that time, curly brass template expression is not rendered correctly in the page.
I mean, I get it in my page while the angular dragon is still {{Exp1}} You can go to {{date}}
While my page_load ASPN.NET function works a lot, this problem is more prominent. These template expressions remain on the page for 3/4 seconds.
I tried to solve it using the loading GIF, but I am using angular.js to toggle the visible GIIF of its loading so that it does not look good.
Use in your body
& lt; Body ng-cloak & gt; & Lt; / Body & gt;
and in your CSS
[ng \ cloak], [ng-cloak], [data-ng-cloak], [x-ng -clock], .ng-cloak, .x-ng-cloak {display: none! Important; }
No comments:
Post a Comment