AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng bind Directive

AngularJS ng-bind Directive

 

 

The ng-bind directive is used to define AngularJS to replace the content of an HTML element with the value of a given variable, or expression.

If the value of the given variable, or expression, changes, the content of the specified HTML element will be changed as well.

 

Syntax:-

 

< element ng-bind="expression" >< /element > OR < element class="ng-bind: expression" >< /element >

 

Further Explanation:-

 

Value Description
expression Specifies a variable, or an expression to evaluate.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS