Back to Browse

Interpolation And Databinding in Angular2 - Part9

36 views
May 29, 2019
11:25

Angular2 tutorial playlist: https://www.youtube.com/watch?v=BJmEs0XamI0&list=PLCxB3OvyEYx3mwSxmossZ-bkv46flY9bR&index=1 In this video, we will discuss the concept of Interpolation and databinding in Angular. Also, discuss the 1st type of one-way databinding with the example. some more important points we will discuss i.e. 1. Syntax of Interpolation 2. Expression of databinding 3. Template Expression 4. Interpolation with method 5. Interpolation with the img tag 6. Interpolation with mathematical expression or with example. Interpolation is all about data binding. In Angular data-binding can be broadly classified into 3 categories. One way data-binding - From Component to View Template One way data-binding - From View Template to Component Two-way data-binding - From Component to View Template & From View template to Component In this video, we will discuss the first one way data-binding i.e From Component to View Template. We achieve this using interpolation. We will discuss the rest of the 2 data-binding techniques in our upcoming videos. One way data-binding - From Component to View Template: To display read-only data on a view template we use one-way data binding technique interpolation. With interpolation, we place the component property name in the view template, enclosed in double curly braces: {{propertyName}}.

Download

0 formats

No download links available.

Interpolation And Databinding in Angular2 - Part9 | NatokHD