Articles → ANGULAR.JS → Expressions in angular.js

Expressions in angular.js







{{expression}}



Binding numbers




<div ng-app>            
            <p>Binding numbers {{5+11}}</p>
</div>





Click to Enlarge


Binding strings




<div ng-app>            
            <p>Binding strings {{"My Name is Gyan"}}</p>
</div>





Click to Enlarge



<div ng-app>            
            <input type="text" ng-model="name" />
            <p> {{name}}</p>
</div>



Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, May 27, 2015

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250