Explain the usage of {{}} in angular?
In Angular, a template expression produces a value and appears within the double curly braces, {{ }}
. Angular then executes the expression and assigns it to a property of the binding target; which could be an HTML element, a component, or a directive.
Like here, currentCustomer is a component property.
<h3>Current customer: {{ currentCustomer }}</h3>?
BY Best Interview Question ON 25 Feb 2020