Tutorialsplane

AngularJs ng-bind


AngularJs ng-bind : AngularJs ng-bind used to bind data with the HTML DOM.

Angularjs ng-bind very simple Example

<div ng-app="">

    <p>Sum = <span ng-bind="10*10"></span></p>

</div>

Example 1




    



<div ng-app="">

    <p>Sum = <span ng-bind="10*10"></span></p>

</div>


Try it »

Example of ng-bind with ng-init

Example 2




    


<div ng-app="" ng-init="a=10;b=15">
    <p>Multiple =<span ng-bind="a*b"><.span> </span></p>
    <p>Division =<span ng-bind="a/b"><.span> </span></p>
</div>


Try it »

Tutorial

Expressions

AngularJs Directives

Controllers

AngularJs Filters

Http Methods

AngularJs Tables

Events

AngularJs Modules