An AngularJS application is divided into two parts:
Application
Bindings
AngularJS Application
An AngularJS application defines the section of HTML that starts the AngularJS application. We define the application using the ng-app attribute. You can add this attribute with any HTML element like body, div, table.
<body>
<div ng-app>
<...