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.…

4 years ago

Install Node.js in Ubuntu

Installation instructions Node.js v14.x: [crayon-663788fdb2452656517541/] Node.js v13.x: [crayon-663788fdb2458365006531/] Node.js v12.x: [crayon-663788fdb245b471539109/] Node.js v10.x: [crayon-663788fdb245d959033012/] Node.js…

4 years ago

Angular CLI & Troubleshooting

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

5 years ago