Table of Contents

    How to Link AngularJS with HTML: A Step-by-Step Guide

    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>