The application we learn in all programming languages is “Hello World” application. Before we start creating our first Angularjs Application, we need to know the real parts of Angularjs Application. All applications have three important components.
ng-app – This is an instruction that defines and links the AngularJS application to HTML.
ng-model − The values of data in AngularJS application can be binded to HTML Input Controls by its instructions.
ng-bind − Binding of HTML Tags in AngularJS Application Data is done by its instructions.
<title>Angular Application Example</title>
<script src ="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js">
<div ng-app = "">
<p>Enter your Name: <input type = "text" ng-model = "name"></p>
<p>Hello <span ng-bind = "name"></span>!</p>
Enter your Name: