element:
var app = angular.module("myApp", []); app.controller("myCtrl", function($scope) { $scope.firstName = "John"; $scope.lastName = "Doe"; }); [Try it Β»](#) * * * ## Definition and Usage The **ng-bind-template** directive is used to tell AngularJS to replace the content of an HTML element with the value of the given expression. You can use the **ng-bind-template** directive when you want to bind multiple expressions to an HTML element. * * * ## Syntax All HTML elements support this directive. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | One or more expressions to be executed, each enclosed in {{ }}. | * * AngularJS Reference Manual](#)Ng Ng Bind Template
# AngularJS `ng-bind-template` Directive
[ AngularJS Reference Manual](#)
* * *
## AngularJS Example
Bind two expressions on a
YouTip