Angular video series - #3 Text interpolation

Published: 18 May 2021
on channel: Code with Sloba
2,722
94

Text Interpolation in Angular is a one-way data-binding technique that is used to transfer the data from a TypeScript code to an HTML template (view).

It uses the template expression in double curly braces (also known as moustache syntax), to display the data from the component to the view.

When do we need text interpolation in Angular? Every time we wan’t to make something dynamic in our HTML template.

A template expression produces a value and appears within double curly braces, {{ }}.

Angular resolves the expression and assigns it to a property of a binding target

Template expressions are similar to JavaScript

************************************************************

0:00 Intro
0:20 When to use them?
0:27 Implementing string interpolation
0:49 Template expressions
2:10 Outro

************************************************************
Previous Video:    • Angular video series - #2 Lifecycle h...  
Next video:    • Angular video series - #4 Component c...  
Full series:    • Full Angular Course  
************************************************************
Linkedin: link   / slobodan-gajic  
Portfolio: https://bobangajicsm.github.io/portfo...
Twitter:   / _slobodangajic_  
************************************************************


Watch video Angular video series - #3 Text interpolation online without registration, duration hours minute second in high quality. This video was added by user Code with Sloba 18 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,722 once and liked it 94 people.