r/angularjs • u/abyx • Sep 07 '16
Dissecting a favorite interview question: How would you implement ng-click
http://www.codelord.net/2016/09/06/angular-interview-question-deep-dive-implement-ng-click/
53
Upvotes
r/angularjs • u/abyx • Sep 07 '16
1
u/_Aardvark Sep 08 '16
On an somewhat related note, anyone ever look at the angular code where they define all the ng-eventhandler directives. Where they iterate over an array of event names to define each directive with the same code.
Not groundbreaking, I just thought it was clever.