Data binding in Angular

data-binding-in-angular

Databinding in Angular

Databinding in Angular and its various types


In this article, We are going to cover “What is databinding in Angular? How can we bind data between component and view?"!

What is data binding?

Data-binding means communication between the TypeScript code of your component and your template which the user sees. Suppose, you have some business logic in your component TypeScript code to fetch some dynamic data from the server and want to display this dynamic data to the user via template because the user sees only the template. Here, we need some kind of binding between your TypeScript code and template (View). This is where data-binding comes into the picture in Angular because it is responsible for this communication.
Data-binding can be either one-way or two-way. Angular provides various types of data binding -

3 comments:

  1. I like your post very much. It is very much useful for my research. I hope you to share more info about this. Keep posting angularjs online training

    ReplyDelete
  2. Nice articel, This article help me very well. Thank you. Also please check my article on my site about What Is Angular?.

    ReplyDelete