AngularJS ng-bind-template
Directive
AngularJS Example
<p>Binding two expressions on an element:
Definition and Usage
The ng-bind-template directive is used to tell AngularJS to replace the content of an HTML element with the values of the given expressions.
You can use the ng-bind-template directive when you want to bind multiple expressions to an HTML element.
Syntax
This directive is supported by all HTML elements.
Parameter Values
Value | Description |
---|---|
expression | One or more expressions to be evaluated, each enclosed in {{ }}. |