Step 1->

Download the AngularJS from the link
Now After downloading the
AngularJS file “angular.min.js”, Place it on myFolderjs

Step 2->

Open the Notepad, write codes as following.

<script src=”js\angular.min.js”></script>

<div ng-app=””>Input my id in the input box:

<inputbr>type=”text” ng-model=”id”

<h1>Welcome! {{id}}</h1>

Step 3 )

Please save the file with name “Welcome.html” at Desktop.
Note: make sure to use “.html” extension name.
Double click “Welcome.html” file and “Welcome.html” will be open in your
browser, and see the output.

Now Change the Text From Hello World to Welcome

More Detail :

Leave a Reply

Your email address will not be published.