Interview Questions

1. How do you categorize data binding types in Angular?

In Angular, we can categorize data binding types into three categories distinguished by the direction of data flow. These data binding categories are:

  • From the source-to-view
  • From view-to-source
  • View-to-source-to-view

Let's see their possible binding syntax:

Data directionSyntaxType
From the source-to-view(One-way data binding)1. {{expression}}
2. [target]="expression"
3. bind-target="expression"
Interpolation, Property, Attribute, Class, Style
From view-to-source(One-way data binding)1. (target)="statement"
2. on-target="statement"
View-to-source-to-view(Two-way data binding)1. [(target)]="expression"
Two-way data binding
By Md Riyazuddin 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started


Leave a Comment

Check out more interview questions

Based on your skills

MS SQL Server

1636375 1720 22 859


41373 92 0 46


33550 72 1 36