Data Binding - Angular (Tutorial #6)

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • 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

Комментарии • 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.

  • @hemanth8381
    @hemanth8381 4 года назад +2

    Woowwwwwwww!!! Thanks alottttttt

  • @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.

  • @michaelegli4929
    @michaelegli4929 3 года назад +1

    Well done! Excellent tutorial! Thank you very much and greetings from Switzerland!

  • @moldovandorin6187
    @moldovandorin6187 4 года назад +1

    Very nice of you to give us these tutorials. Thank you very much indeed

  • @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.

  • @gg-bl5su
    @gg-bl5su Год назад +1

    very niice thanks!

  • @md.imtiaz6331
    @md.imtiaz6331 4 года назад +1

    Explained very fluidly. Great Job!

  • @muxammad2777
    @muxammad2777 4 года назад +2

    The best tutorial in the world thank you very much I wish I could give you more then one likes 👍

    • @NishaSingla
      @NishaSingla  4 года назад +1

      Thank you so much Muxammad

  • @nareshkuruva8249
    @nareshkuruva8249 5 лет назад +1

    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

  • @apoorvgupta2511
    @apoorvgupta2511 4 года назад +1

    Amazing tutorial. clears all the doubts of data binding

  • @SridharKaliyaperumal
    @SridharKaliyaperumal 3 года назад +1

    One of the Best Tutorial clear explanation sister Very Smooth and Clear

  • @jinthasyed
    @jinthasyed 2 года назад

    Very nice explanation. Really helps to understand the Angular from scratch.

  • @canada_c_apture
    @canada_c_apture 4 года назад +1

    Awsome way of teaching.. full ropic knowledge.. and the way you teach is just superb👌🏻👌🏻👌🏻👌🏻

  • @donaldli1864
    @donaldli1864 4 года назад +3

    Thank you Nisha! Peace between China and India.

  • @morlaadarsha9056
    @morlaadarsha9056 5 лет назад +1

    very nice explanation thank you very much

  • @PANKAJKUMARSINGH673
    @PANKAJKUMARSINGH673 Год назад

    Very talented women thank you mam 🙏

  • @hardikjoshi5791
    @hardikjoshi5791 5 лет назад +1

    nice one dear ,, thanks

  • @nickeax
    @nickeax 4 года назад +1

    Great, thanks very much!

  • @jean-paulboga8189
    @jean-paulboga8189 5 лет назад +1

    Wonderful explanation .great job Nisha!!!!!!!!!!!!!!!

  • @shaikliyakhat7555
    @shaikliyakhat7555 3 года назад +1

    Woow.....! cool thank u mam

  • @nifasa8309
    @nifasa8309 3 года назад +1

    Thank you so much I understood very much

  • @jasonbourne9884
    @jasonbourne9884 3 года назад +1

    That was awesome explanation. Thanks for clarifying such crucial concepts 🙏.

  • @shubhamSharma-ee8jc
    @shubhamSharma-ee8jc 4 года назад +1

    Thanks for this video, it is really helpful

  • @kushaalrana
    @kushaalrana 4 года назад +1

    Perfect precise and on point explanation , subscribed and Thank you please keep uploading more videos 👌

  • @dbhjulio
    @dbhjulio 4 года назад +1

    Excelente conteúdo. Muito obrigado!

  • @swapniltravels
    @swapniltravels Год назад

    nice explanation

  • @tamalbose3336
    @tamalbose3336 2 года назад +1

    nice explanation.. going to subscribe

  • @paramkushamaparna5207
    @paramkushamaparna5207 2 года назад +1

    ur great mam, I subscribed ur channel 👌👌👌👍👍

  • @susanjoshi5948
    @susanjoshi5948 5 лет назад +1

    Very Nice lecture Nisha! Thank You.

  • @ehsanset6709
    @ehsanset6709 5 лет назад +1

    Very helpful. Thank you.

  • @jayakumar2927
    @jayakumar2927 4 года назад +1

    Good one. Post more videos with

  • @vasanthapandiyanm2405
    @vasanthapandiyanm2405 5 лет назад +1

    hi nisha your videos and explanations are an awesome... also could you please upload a sample project....

  • @Avaneesh_Mishra
    @Avaneesh_Mishra 5 лет назад +1

    Hey Nisha..Wonderful video on Data Binding. Thanks.

  • @ravindujeewhantha4012
    @ravindujeewhantha4012 4 года назад +1

    well explained ma'am

  • @letslearn5032
    @letslearn5032 6 лет назад +2

    Well Explained... thanks mam

  • @jean-philippepascal1360
    @jean-philippepascal1360 4 года назад

    simple and clean as usual 👍

  • @jaiharshagottumukkala6538
    @jaiharshagottumukkala6538 4 года назад +1

    👌👌👍👍

    • @NishaSingla
      @NishaSingla  4 года назад

      Thanks

    • @jaiharshagottumukkala6538
      @jaiharshagottumukkala6538 4 года назад +1

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

  • @ganeshbodke5872
    @ganeshbodke5872 5 лет назад +1

    Well explained... thanks Nisha

  • @Murtaza0052
    @Murtaza0052 6 лет назад +1

    One more example of two way data binding

  • @fridatakang3900
    @fridatakang3900 4 года назад +2

    This is amazing and short. Thanks for clarifying those four important Angular concepts in such a short video. How can one connect with you?

  • @SaiKumar-xm9uo
    @SaiKumar-xm9uo 4 года назад +1

    Really nisha, you deserve a high position in It field n please if possible upload videos on react and express js

  • @IT.1466
    @IT.1466 2 года назад

    i love you this voice owner

  • @udaykumarb2621
    @udaykumarb2621 4 года назад +1

    In event binding while click on change title it's not changing the name ple tell me

  • @yogeshfirke-v2r
    @yogeshfirke-v2r 6 лет назад

    very nice and informative videos on angular js ..thanks a ton

    • @Avaneesh_Mishra
      @Avaneesh_Mishra 5 лет назад +1

      Its Angular 5. Not Angular JS

    • @yogeshfirke-v2r
      @yogeshfirke-v2r 5 лет назад +1

      @@Avaneesh_Mishra got it sir..I know very well, typo mistake

  • @udaykumarb2621
    @udaykumarb2621 4 года назад +1

    For angular 8 it is same?? I mean data binding

  • @tarunagarwal7748
    @tarunagarwal7748 5 лет назад +1

    hey give the link repository link of this program

  • @ashwini4444
    @ashwini4444 6 лет назад +1

    could u please make some videos on component communication from parent to child and child to parent?

    • @NishaSingla
      @NishaSingla  6 лет назад

      ruclips.net/video/qC3P_Ye-jec/видео.html

  • @ajaygaikwad-zj2xo
    @ajaygaikwad-zj2xo Год назад

    Please share Two way Binding without ngModel

  • @kirthimedia5235
    @kirthimedia5235 3 года назад

    4:39 Interpolation
    11:34 Two way data binding

  • @riteshsingh415
    @riteshsingh415 4 года назад +1

    any udemy course on angular ?

    • @NishaSingla
      @NishaSingla  4 года назад

      Nopes... I have just this channel

  • @vasanthapandiyanm2405
    @vasanthapandiyanm2405 5 лет назад

    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

  • @dikshantyadav1110
    @dikshantyadav1110 6 лет назад

    can u tell how did u get that image into your image folder ??

  • @sukritikumari7211
    @sukritikumari7211 4 года назад +1

    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 года назад +2

      I hope you have imported FormsModule from angular/forms package and then importa in &NgModule({})

    • @tejatechviews
      @tejatechviews 3 года назад +1

      @@NishaSingla solved thank you

    • @mukeshkaduru8409
      @mukeshkaduru8409 3 года назад

      @@NishaSingla thank you nisha