position within html for angular – Stewie Dec 12 '13 at 22:08

2 Answers2

3

You can choose the way you want, since it's a SPA => loaded once so no poor performance if in head.

If you declare angular.json the bottom part of the page, there's a good way to avoid the case for missed interpolated variable:
You should use the ng-bind directive in your home template instead of the direct interpolation notation:

<div ng-bind="model.value"></div>

instead of {{model.value}}

Mik378
  • 21,881
  • 15
  • 82
  • 180
0

You should place it just before the closing body tag. This way the JavaScript is executed after loading the html.

Remco Haszing
  • 7,178
  • 4
  • 40
  • 83