AngularJS in HEAD vs BODY
问题 In all of the AngularJS examples, the Angular library is placed in the HEAD tags of the document. I have an existing project that has been built upon the HTML5 Boilerplate layout. This defines that JS libraries should be placed at the very bottom of the DOM before the </BODY> tag. Does AngularJS need to be placed in the HEAD? 回答1: AngularJS does not need to be placed in the HEAD, and actually you normally shouldn't, since this would block loading the HTML. However, when you load AngularJS at