Angular 4.0 : What is Angular Interpolation?
Angular I NTERPOLATION What is Angular Interpolation? It is all about data binding. It is broadly divided into three parts : 1. One Way Data-Binding: From Component to View Template 2. One Way Data-Binding: From View Template to Component 3. Two way Data-Binding: From Component to view template & From View template to component In the Angular for data binding we used: {{ }} {{ }} --- It is called Interpolation When we put some value from class property to the interpolation then it is called template expression. {{ pageHeader }} --- > Template Expression Example: classs AppComponent has pageHeader property which binds to the template expression Output > We can also add hard code in the template expression Example Output > We can also add ternary operator in the template expression Example Output > W...