juniorAngularJS

What is AngularJS ng-app directive?

Updated Apr 28, 2026

Short answer

ng-app bootstraps AngularJS application.

Deep explanation

It initializes AngularJS app and defines root element.

Real-world example

Starting AngularJS app in HTML.

Common mistakes

  • Multiple ng-app usage.

Follow-up questions

  • What is bootstrap?
  • Why single ng-app?

More AngularJS interview questions

View all →