Angular: Data Binding and Change Detection

Venkata Keerti Kotaru · Apress eBooks · 2019

A markup language (like HTML) is better suited for building a view. It is declarative and easy to read. As we build web pages in an Angular application, views are built with HTML. Data and logic stay in the TypeScript classes. Traditionally, the JavaScript API (and JQuery) allows you to query and select an HTML element. The JavaScript code might read the value from the selected element or set a value to it. This becomes error prone and convoluted as the application grows in size and complexity.

Read the paper · More papers on PaperTik