Two way binding in angular
By using two-way binding you can share data between a component class and its template. By using two-way binding, data property can be shown into UI and that data changes…
By using two-way binding you can share data between a component class and its template. By using two-way binding, data property can be shown into UI and that data changes…
By using event binding you can listen to DOM events like keystrokes, mouse movement, clicks, and touches. In event binding, you have to call a specific method or action when…
Property binding in angular is one-way data binding. You can use property binding for assigning values to the element’s property or attribute. You have to pass data from components to…
Interpolation in angular is used for one-way data binding. Interpolation is used for data binding from component to template(HTML).You can display data from the component into a template by using…
Data binding is a very important concept in angular. In this tutorial, you will learn what is data binding in angular and what are different types of data binding. Data…
In this tutorial, we will be developing an angular application and perform CRUD operations in angular. CRUD operations include POST, GET, UPDATE and DELETE requests respectively. In this tutorial, you…
Components should not be used to fetch or save data directly. So the question arises, then how should we store and fetch data. The solution to this problem can be…
*ngFor is a built-in directive in angular which is used to iterate over items in array or object. ngFor is a structural directive that means it will change only HTML…
In this tutorial, you will learn the difference between template and templateUrl. You will learn what is template and templateUrl with examples and when to use them. template: By using…
Components are very important in angular. They are building blocks of an angular application. Components mostly contain a logical piece of code. You can define components using @component decorator. A…