December 2014
Intermediate to advanced
346 pages
6h 14m
English
As unique and elegant as AngularJS is, the reality of the situation is that it is a framework that lives inside asynchronously executed client-side code, and this requires some considerations. One of these considerations is the first-time delivery initialization latency. Especially when your application JS files are located at the end of the page, you might experience a phenomenon called "template flashing," where the uncompiled template is presented to the user before AngularJS bootstraps and compiles the page. This can be elegantly prevented using ng-cloak.
Suppose that this is your application:
(index.html)
<body>
{{ youShouldntSeeThisBecauseItIsUndefined }}
</body>The solution is to simply ...
Read now
Unlock full access