The {{expression}} in AngularJS binds AngularJS expressions with AngularJS data.
{{ Name}} is bound with ng-model=”Name”.

<div ng-app=”” ng-init=”table=2;number=5″>

Table: <input type=”number” ng-model=”table”>
Number: <input type=”number” ng-model=”number”>

Sum Of Number: {{ table * number}}

</div>

Above example two text fields are bound together with two ng-model directives:

News Reporter
IT Software and web development, Core PHP, JavaScript, JQuery, HTML, CSS, CakePHP, Angularjs, Codeigniter etc.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: