Angular
Search…
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.
1
currentCustomer = 'Maria';
Copied!
1
<h3>Current customer: {{ currentCustomer }}</h3>
Copied!
Copy link