Ng-app is an instruction for angular, which represents a angular application (also called a module). Use Ng-app or ng-app= "" To mark a DOM node so that the framework loads automatically. In other words,Ng-app can be a property value. If you want to implement automatic loading, you cannot have Ng-app with attribute values.
1, does not contain the Ng-app, cannot automatically load, this relatively good understanding.
2, contains 2 Ng-app, then will only automatically load the first, this is understood.
3, Ng-app with attributes, not automatically loaded
4, without attributes in front, with attributes in the back. Ng-app tagged modules can be loaded automatically
5, with attributes in front, without attributes in the back. Ng-app Tagged modules cannot be loaded automatically
The 4th and 52 situations are strange, there should be no difference in this order, and there is no need for this distinction, and guessing should be a bug in the framework. If anyone understands, please advise.
(iii) Use of Ng-app puzzles and automatic loading of the ANGULARJS framework