Text interpolation

Text interpolation allows you to incorporate dynamic string values into your HTML templates. With interpolation, you can dynamically change what appears in an application view, such as displaying a custom greeting that includes the user's name.

currentCustomer = 'Maria';
<h3>Current customer: {{ currentCustomer }}</h3>

Last updated