What is string interpolation Angular?
String Interpolation is a special syntax in Angular 2 which is a more efficient alternative to property binding. It is used to display dynamic data on an HTML template while facilitating you to make changes on the component.ts file and fetch data for the HTML template.
Below is an example of a String Interpolation syntax. It should be between double curly braces {{ }} and hence also called a moustache syntax:
BY Best Interview Question ON 24 Jun 2020
Example
class AppComponent
{
propertyName: string;
object: DomainObject;
}
{{ propertyName }}
{{ object.propertyName }}