Tag Archives: AngularJs ng-app scope
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 = ''>
Note you can give your ng-app name .
<div ng-app = 'MyApp'>
Let us understand with simple example