Addition of Two Numbers in AngularJS

Simple AngularJs Program for Addition of two numbers.

AngularJS Reference

AngularJS library written in JavaScript. Angular js reference file is given below.

<script src=""></script>

Here is the complete code :

<div ng-app="">
<h3>Using Input Type Number</h3>
First Number :
        <input type="number" ng-model="c" />
Second Number :
        <input type="number" ng-model="d" />
Sum Of Two Number's : {{ c + d }}

Output :

addnumbersCheck Live Demo Here : Addition Of Two Numbers Using AngularJs


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s