Wednesday, July 20, 2016

Addition calculation in Angular JS

two numbers adding in angular js
Example:
<html >
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>

</head>
<body>

<div ng-app="">


<p>Name : <input type="text" ng-model="name" ></p>
<h1>Hello {{5+5}}</h1>

</div>
</body>
</html>

No comments:

Post a Comment