Setting up environment to Install Angular
Follow the instructions to install the AngularJs:
Step 1: First of all open the link AngularJs then it will open a page:
Step 2: It will give two options –
Watch this What is Angular 8 video:
1. View on GitHub – It will give all the latest scripts.
2. Download – When you click on this button then it shows:
Step 3: Click on download button then it will download angular.min.js.
Watch this Full Stack Web Development Course Video:
Step 4: Create a HTML page and in this page include the AngularJS JavaScript file as follows:
<head>
<script src = "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
</head>
Step 5: Then run the HTML page in the browser.
Example
<!DOCTYPE html>
<html lang="en-US">
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>
<h1>Sample Application</h1>
<div ng-app="">
<p>Name : <input type="text" ng-model="msg"></p>
<p>Hello {{msg}}</p>
</div>
</body>
</html>
Output