InterviewSolution
Saved Bookmarks
| 1. |
How do you use string interpolation Angular 4? |
|
Answer» String interpolation in Angular is a one-way data-binding technique used to take the output data from a typescript code and into an HTML template. It uses the template expression through DOUBLE curly braces {{ }} displaying the data from a component to view. Here’s an EXAMPLE to show you how to USE String Interpolation: import {Component} from ‘@angular/core’; |
|