Interpolation And Databinding in Angular2 - Part9

Published: 29 May 2019
on channel: Code With Rohini
35
4

Angular2 tutorial playlist:
   • What is AngularJS and What is Angular...  

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


Watch video Interpolation And Databinding in Angular2 - Part9 online without registration, duration hours minute second in high quality. This video was added by user Code With Rohini 29 May 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 35 once and liked it 4 people.