RUVIDEO
Поделитесь видео 🙏

Interpolation in Angular | Angular Tutorial | NSCODE

Interpolation in Angular Angular Tutorial NSCODE
#interpolation #angularinterpolation #angulartutorial #learnangular #angular
Interpolation allows us to include expressions as part of any string literal, which we use in our HTML. The angular evaluates the expressions into a string and replaces it in the original string and updates the view. You can use interpolation wherever you use a string literal in the view.
In the last video, we have learned how to create the angular component.
Now we will learn Interpolation in Angular
So double curly braces are Interpolation in angular
I am writing name as a variable which can be of type any.
Let it be string value NSCODE
Now to render it we will write the h2 tag and the curly braces
with variable names let save it as you can see that code is in our view.
In the same way, we can do many things inside the interpolation.
like if I write 2+4 it will do the calculation and on save we can see the result 6 on the page.
In the same way, we can do multiplication like this as you can see 200 on the page
let's try some more things. Create a boolean with the name isOpen and it's false by default.
Now inside the interpolation, we will use the ternary operator.
if isopen is true it will print nscode else it will print happy learning.
As isOpen is false we can see Happy learning is printed now if we change
isopen to true it will print nscode
we can also do division like 10/5 inside the interpolation in angular.
In the next video, we will learn class binding.
---------------------------------------------------------------------------------------------------
Facebook page: https://www.facebook.com/angular11tutorial
YouTube Channel: https://www.youtube.com/channel/UCuJcT_jSDGAXWd9jzxDIXcg
Email: [email protected]
Angular Install & Environment Setup:
https://youtu.be/9LQh7L4YB5U

Angular docs: https://angular.io/
--------------------------------------------------------------------------
Credit:
Music: Dreams - Bensound
https://www.bensound.com

Support by RFM - NCM: https://bit.ly/2xGHypM

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Interpolation in Angular | Angular Tutorial | NSCODE», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.