Angular Queries

What is the difference between one-way binding and two-way binding ?

In One-Way data binding, view (UI part) not updates automatically when data model changed. We need to write custom code to make it updated every time.
ng-bind has one-way data binding.

While in two way binding scope variable will change it’s value every time its data model changed is assigned to a different value.

Recent Posts

How to Install Angular on Ubuntu (18.04 & 16.04)

Angular is a TypeScript-based, open-source web application framework led by the Angular Team at Google.…

5 years ago

Install Node.js in Ubuntu

Installation instructions Node.js v14.x: [crayon-68bddb8baae00458796374/] Node.js v13.x: [crayon-68bddb8baae06559825769/] Node.js v12.x: [crayon-68bddb8baae08014195926/] Node.js v10.x: [crayon-68bddb8baae0a835136455/] Node.js…

5 years ago

Angular CLI & Troubleshooting

You encountered issues during the installation of the CLI or setup of a new Angular…

6 years ago