How to Embed AngularJS in your page?

Download AngularJS library from its Official Website. Then include the file within your page same as we include a jQuery library or any other JavaScript file.

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

Or you can directly include from CDN

Now create a new HTML file index.html and include AngularJS script on it.

<!DOCTYPE html>
<html lang="en" ng-app="">
<head >
<meta charset="UTF-8">
<title>First AngularJS program</title>
<script type="text/javascript" src=""></script>
<body >
     <div >
          40 + 50 = {{ 40+50 }}

it will produce the following output –

40 + 50 = 90
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments