Тёмный
No video :(

Data Binding - Angular (Tutorial #6) 

Nisha Singla
Подписаться 32 тыс.
Просмотров 51 тыс.
50% 1

In this video we will learn about Data Binding in Angular. Data Binding allows to define communication between Component and View.
Use this link to share this video: • Data Binding - Angular...
So we can say DB is process where data is passed from Angular Component to the view(template) and from view to component.
There are four forms of data binding and they differ in the way the data flow.
1) Interpolation . {{ }}
2)Property Binding [ ]
3)Event Binding ( )
4) Two way binding [( )]
Interpolation:
Interpolation provides the data binding from component to view. Interpolation is one way data binding It binds from Component class to the template
Property Binding:
Property binding allows us to bind Property of view element to the value of template expression
The property binding uses the [ ] bracket. The binding target is placed inside the square bracket. The binding source is enclosed in quotes
Difference between Interpolation and Property Binding:
If I talk about Interpolation - it requires expression to return a string. So if you want to set element property to a non string data value - we must use property binding
Event Binding:
The interpolation and property binding are one way binding from component to view.
Event binding is used to perform an action in the component (may be executing a method) when user-raise a event - like click on button
Event binding uses the parenthesis. And name of the event is enclosed in parenthesis and then it assigned to the statement which mostly the method in the component class
Two-way data binding:
2 way data binding means changes made in component data should sync to the view so any changes made in the view are immediately updated in the respective component data
Two way binding is used mainly in data entry forms whenever user makes any changes in the data we would like to update our model in the component with new data and if model changes, we would like to update view as well
Angular uses combination of property binding and event binding by using ngModel directive
ngModel directive is not apart of angular core library . It is defined in the FormsModule library. You need to import FormsModule into our main module that is app.module.ts
If you liked this video don't forget to subscribe my channel
Click subscribe for more updates:
• Introduction- Angular ...
Connect with me:
Facebook: / angularjs4beginners
LinkedIn: / nisha-singla-82407aa0

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@abhisheksoni6012
@abhisheksoni6012 Месяц назад
Nisha, you are an excellent trainer with expertise in the subject. You explained such complex concepts/topics of angular effortlessly. I am a big fan of you. I watched your whole angular series and only one word, it is awesome. I have never seen such a detailed explanation of Angular Topics. You really made our life easy. Thank you so much and Hope you will continue to share your knowledge with strugglers.
@4444-c4s
@4444-c4s Год назад
Best video ever seen on Data Binding..You have unique way to teach complex things easier
@ashimroy3891
@ashimroy3891 Год назад
Such Clear and Concise explanation!!! Much appreciated.
@hemanth8381
@hemanth8381 4 года назад
Woowwwwwwww!!! Thanks alottttttt
@NishaSingla
@NishaSingla 4 года назад
Most welcome 😊
@moldovandorin6187
@moldovandorin6187 4 года назад
Very nice of you to give us these tutorials. Thank you very much indeed
@NishaSingla
@NishaSingla 3 года назад
My pleasure!
@canada_c_apture
@canada_c_apture 4 года назад
Awsome way of teaching.. full ropic knowledge.. and the way you teach is just superb👌🏻👌🏻👌🏻👌🏻
@NishaSingla
@NishaSingla 3 года назад
Keep watching
@half-bloodprince3227
@half-bloodprince3227 Год назад
Thank you so much, the video is so good. It is easy to understand, much better than other top rank videos.
@SridharKaliyaperumal
@SridharKaliyaperumal 3 года назад
One of the Best Tutorial clear explanation sister Very Smooth and Clear
@NishaSingla
@NishaSingla 3 года назад
Glad it was helpful!
@muxammad2777
@muxammad2777 4 года назад
The best tutorial in the world thank you very much I wish I could give you more then one likes 👍
@NishaSingla
@NishaSingla 4 года назад
Thank you so much Muxammad
@michaelegli4929
@michaelegli4929 3 года назад
Well done! Excellent tutorial! Thank you very much and greetings from Switzerland!
@NishaSingla
@NishaSingla 3 года назад
Many thanks!
@apoorvgupta2511
@apoorvgupta2511 4 года назад
Amazing tutorial. clears all the doubts of data binding
@NishaSingla
@NishaSingla 4 года назад
Glad it was helpful!
@nareshkuruva8249
@nareshkuruva8249 5 лет назад
Explaing very well with examples and also thanks to giving notes about concepts under the down of the video
@NishaSingla
@NishaSingla 4 года назад
thanks Naresh. yes notes can be used if someone faced some issue in understanding
@md.imtiaz6331
@md.imtiaz6331 4 года назад
Explained very fluidly. Great Job!
@NishaSingla
@NishaSingla 4 года назад
Thank you
@morlaadarsha9056
@morlaadarsha9056 4 года назад
very nice explanation thank you very much
@NishaSingla
@NishaSingla 4 года назад
you're welcome
@hardikjoshi5791
@hardikjoshi5791 5 лет назад
nice one dear ,, thanks
@NishaSingla
@NishaSingla 4 года назад
Thank you Hardik
@gg-bl5su
@gg-bl5su Год назад
very niice thanks!
@PANKAJKUMARSINGH673
@PANKAJKUMARSINGH673 Год назад
Very talented women thank you mam 🙏
@jinthasyed
@jinthasyed 2 года назад
Very nice explanation. Really helps to understand the Angular from scratch.
@jean-paulboga8189
@jean-paulboga8189 5 лет назад
Wonderful explanation .great job Nisha!!!!!!!!!!!!!!!
@NishaSingla
@NishaSingla 4 года назад
Thanks
@jayakumar2927
@jayakumar2927 4 года назад
Good one. Post more videos with
@NishaSingla
@NishaSingla 4 года назад
Thanks
@jayakumar2927
@jayakumar2927 4 года назад
@@NishaSingla Share source code
@paramkushamaparna5207
@paramkushamaparna5207 2 года назад
ur great mam, I subscribed ur channel 👌👌👌👍👍
@NishaSingla
@NishaSingla 2 года назад
Hey glad to connect 🙏
@shaikliyakhat7555
@shaikliyakhat7555 3 года назад
Woow.....! cool thank u mam
@NishaSingla
@NishaSingla 3 года назад
Most welcome 😊
@tamalbose3336
@tamalbose3336 2 года назад
nice explanation.. going to subscribe
@NishaSingla
@NishaSingla 2 года назад
Glad to connect 😃
@jasonbourne9884
@jasonbourne9884 3 года назад
That was awesome explanation. Thanks for clarifying such crucial concepts 🙏.
@NishaSingla
@NishaSingla 3 года назад
Glad it was helpful!
@donaldli1864
@donaldli1864 4 года назад
Thank you Nisha! Peace between China and India.
@kushaalrana
@kushaalrana 4 года назад
Perfect precise and on point explanation , subscribed and Thank you please keep uploading more videos 👌
@NishaSingla
@NishaSingla 4 года назад
Thank you Kushaal 😄
@susanjoshi5948
@susanjoshi5948 5 лет назад
Very Nice lecture Nisha! Thank You.
@NishaSingla
@NishaSingla 4 года назад
Thanks
@swapnilkumar4157
@swapnilkumar4157 Год назад
nice explanation
@shubhamSharma-ee8jc
@shubhamSharma-ee8jc 4 года назад
Thanks for this video, it is really helpful
@NishaSingla
@NishaSingla 4 года назад
Thank you
@nifasa8309
@nifasa8309 3 года назад
Thank you so much I understood very much
@dbhjulio
@dbhjulio 4 года назад
Excelente conteúdo. Muito obrigado!
@NishaSingla
@NishaSingla 4 года назад
não há de quê
@vasanthapandiyanm2405
@vasanthapandiyanm2405 5 лет назад
hi nisha your videos and explanations are an awesome... also could you please upload a sample project....
@udaykumarb2621
@udaykumarb2621 4 года назад
In event binding while click on change title it's not changing the name ple tell me
@SaiKumar-xm9uo
@SaiKumar-xm9uo 4 года назад
Really nisha, you deserve a high position in It field n please if possible upload videos on react and express js
@NishaSingla
@NishaSingla 4 года назад
Thank you Sai
@SaiKumar-xm9uo
@SaiKumar-xm9uo 4 года назад
@@NishaSingla please tech javascript as well nisha
@ravindujeewhantha4012
@ravindujeewhantha4012 4 года назад
well explained ma'am
@ganeshbodke5872
@ganeshbodke5872 5 лет назад
Well explained... thanks Nisha
@NishaSingla
@NishaSingla 4 года назад
Thank you Ganesh
@Avaneesh_Mishra
@Avaneesh_Mishra 5 лет назад
Hey Nisha..Wonderful video on Data Binding. Thanks.
@NishaSingla
@NishaSingla 4 года назад
Thank you Avaneesh
@jaiharshagottumukkala6538
@jaiharshagottumukkala6538 4 года назад
👌👌👍👍
@NishaSingla
@NishaSingla 4 года назад
Thanks
@jaiharshagottumukkala6538
@jaiharshagottumukkala6538 4 года назад
We are eagerly waiting for ur superb video tutorials on Angular9 ..i like the way u teach concepts and simplify the topics ..keep it up ....keep uploading tutorials ...
@ehsanset6709
@ehsanset6709 5 лет назад
Very helpful. Thank you.
@NishaSingla
@NishaSingla 4 года назад
Pleasure is all mine
@nickeax
@nickeax 4 года назад
Great, thanks very much!
@NishaSingla
@NishaSingla 4 года назад
Thank you :)
@letslearn5032
@letslearn5032 6 лет назад
Well Explained... thanks mam
@NishaSingla
@NishaSingla 6 лет назад
thank you . :)
@jean-philippepascal1360
@jean-philippepascal1360 4 года назад
simple and clean as usual 👍
@fridatakang3900
@fridatakang3900 4 года назад
This is amazing and short. Thanks for clarifying those four important Angular concepts in such a short video. How can one connect with you?
@NishaSingla
@NishaSingla 4 года назад
Thank you Frida
@yogeshkumarfirke4997
@yogeshkumarfirke4997 6 лет назад
very nice and informative videos on angular js ..thanks a ton
@Avaneesh_Mishra
@Avaneesh_Mishra 5 лет назад
Its Angular 5. Not Angular JS
@yogeshkumarfirke4997
@yogeshkumarfirke4997 5 лет назад
@@Avaneesh_Mishra got it sir..I know very well, typo mistake
@udaykumarb2621
@udaykumarb2621 4 года назад
For angular 8 it is same?? I mean data binding
@NishaSingla
@NishaSingla 4 года назад
Yes concept is same
@IT.1466
@IT.1466 2 года назад
i love you this voice owner
@tarunagarwal7748
@tarunagarwal7748 4 года назад
hey give the link repository link of this program
@riteshsingh415
@riteshsingh415 4 года назад
any udemy course on angular ?
@NishaSingla
@NishaSingla 4 года назад
Nopes... I have just this channel
@Murtaza0052
@Murtaza0052 6 лет назад
One more example of two way data binding
@ashwini4444
@ashwini4444 6 лет назад
could u please make some videos on component communication from parent to child and child to parent?
@NishaSingla
@NishaSingla 6 лет назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qC3P_Ye-jec.html
@kirthimedia5235
@kirthimedia5235 3 года назад
4:39 Interpolation 11:34 Two way data binding
@vasanthapandiyanm2405
@vasanthapandiyanm2405 4 года назад
what is obserable?
@venkateshyadla9798
@venkateshyadla9798 6 лет назад
hi nisha,how did u create images folder with in assets ?manual or with angular cli,if it is angular cli,coulde you tell me
@NishaSingla
@NishaSingla 6 лет назад
I have created it manually
@ajaygaikwad-zj2xo
@ajaygaikwad-zj2xo Год назад
Please share Two way Binding without ngModel
@dikshantyadav1110
@dikshantyadav1110 6 лет назад
can u tell how did u get that image into your image folder ??
@NishaSingla
@NishaSingla 4 года назад
Copy paste :)
@sukritikumari7211
@sukritikumari7211 4 года назад
English ke bad hindi me asplend kijiye n mam please
@mukeshkaduru8409
@mukeshkaduru8409 3 года назад
Can't bind to 'ngModel' since it isn't a known property of 'input'. 9 im getting this error. please help me out this. even after i imported in module.ts ~~~~~~~~~~~~~~~~~
@NishaSingla
@NishaSingla 3 года назад
I hope you have imported FormsModule from angular/forms package and then importa in &NgModule({})
@tejatechviews
@tejatechviews 3 года назад
@@NishaSingla solved thank you
@mukeshkaduru8409
@mukeshkaduru8409 3 года назад
@@NishaSingla thank you nisha
Далее
Directives - Angular 5 (Tutorial #7)
3:09
Просмотров 22 тыс.
@ViewChild in Angular | Data Binding | Angular 12+
19:41
Wife habit 😂 #shorts
00:16
Просмотров 53 млн
C’est qui le plus fort 😂
00:18
Просмотров 6 млн
Learn JSON in 10 Minutes
12:00
Просмотров 3,2 млн
NVIDIA Needs to STOP - RTX 3050 & Misleading Branding
11:35
microsoft doubles down on recording your screen
10:00
Content Projection with ng-content (Tutorial 36)
15:57
Angular NgModel Two Way Data Binding with Example
5:51