Downloading Angular JS at the bottom of the page results in an ugly {{something}} html error. Using the ng-cloak directive in the body tag creates an empty flash until JS is loaded, so it does not add any benefit, it just loads AngularJS into the head element. You can add ng-cloak to each element with ng directives, but you get a flash of empty elements. Soooo, just download Angular, and your app.js files in the head element, like the Angular documentation, recommend in this quote from your documentation: "For best results, angular.js script should be loaded into the section of the chapter of the html document"
Steve Carey Sep 01 '16 at 22:28 2016-09-01 22:28
source share