What is the use of NG app in Angularjs 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Toronto, Lives in Mexico City.
The ng-app directive tells AngularJS that this is the root element of the AngularJS application. All AngularJS applications must have a root element. You can only have one ng-app directive in your HTML document. If more than one ng-app directive appears, the first appearance will be used.
2023-05-09 05:04:15
评论(499)
Helpful(122)
Helpful
Helpful(2)

Harper Clark
QuesHub.com delivers expert answers and knowledge to you.
The ng-app directive tells AngularJS that this is the root element of the AngularJS application. All AngularJS applications must have a root element. You can only have one ng-app directive in your HTML document. If more than one ng-app directive appears, the first appearance will be used.