Tag Archives: AngularJs ng-app scope

AngularJs ng-app


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

Note you can give your ng-app name .

Example

Let us understand with simple example

Example 1

    



Name :

{{name}}

Try it »