AngularJs ng-app directive : AngularJs ng-app directive is used to define the root of the application. It is used to initialize the application automatically when the page loads
Syntax : AngularJs ng-app
<div ng-app=""> </div>
Note you can give your ng-app name .
Example
<div ng-app="MyApp"> </div>