ng-bind-template
Bind interpolated template text to an element.
Binds a template string that may contain multiple {{ }} interpolation
expressions. Useful on attributes or when you need mixed text and expressions in
the element’s text content.
<span ng-bind-template="{{ remaining }} of {{ total }} tasks remain"></span>
ng-bind-template
- Type:
string - Required: yes
A string literal containing one or more {{ expression }} interpolations. The
entire string is interpolated and set as textContent.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.