What is ng-App directive in Angular JS?

Question :

What is ng-App directive in Angular JS?

It is used to define the Angular JS Application. It appoints the element of an Angular JS application and it is kept near the <body> or <html> tag.

We can define any number of ng-app directives inside the HTML document, but only one AngularJS application can be bootstrapped automatically (auto-bootstrapped) and the other applications need to be bootstrapped manually.

Example:
<div ng-app="">
<p>my first expression: { { 157 + 122 } } </p>
</div>


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad