in Angular by
Explain the usage of {{}}?

1 Answer

0 votes
The set of brackets {{}} when used with an HTML tag, represent data from a component. For example, on a HTML page which has <h1>{{variableName}}</h1>, here the ‘variableName’ is actually typescript (component) data representing its value on the template; i.e., HTML. This entire concept is called String Interpolation.


Angular 6 Components are the most simple Data building particuler block of a web UI in Angular 6 web applications and it some Data controls views (HTML/CSS).

ng g component login

D:\Angular\DemoApp>ng g component login






Related questions

0 votes
asked May 31, 2022 in Angular by Robin
0 votes
asked Dec 12, 2020 in Angular by SakshiSharma
+1 vote
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986