The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Angular 2 - Events (es5)

Angular 2 - Events (es5)

3:38
Angular 2 introduces a new event syntax for connecting events on the DOM to your controllers. In this video, John walks you through the basics of the new syntax and how to handle events inside your own components.
Watch this lesson now
Avatar
egghead.io

Angular 2 introduces a new event syntax for connecting events on the DOM to your controllers. In this video, John walks you through the basics of the new syntax and how to handle events inside your own components.

Avatar
David

Great tutorial John, thank you for my ongoing AngularJS education. I've been following you since 2013. I have a "Proof of concept" application I am working on in which I'm combining both AngularJS 1.4 and AngularJS 2.0. For my AngularJS 2 I'm using version ^2.0.0-alpha.25 and I'm missing the two way data binding that you have in this tutorial. In my Clicker functions "onClick" and "onMouseMove", the clickCounter, and the x, and y are being updated, but the updates are not displaying in {{clickCounter}}, {{x}, and {{y}}. They remain at 0 as initialized. How did you accomplish the data binding?

Thank you very much!

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?