Linking AngularJS with HTML

Rumman Ansari   Software Engineer   2023-01-27   109 Share
☰ Table of Contents

Table of Content:


Linking AngularJS with HTML

If you have downloaded AngularJS to your machine, you may include the script from your local machine into the HTML code as follows:


<script
src="script/angular.js"
type="text/javascript">
</script>

Following is the way to include script from CDN:


<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.js"
type="text/javascript">
</script>