Auto-bind instance methods in directive classes
Closed this issue · 0 comments
DamianEdwards commented
When using TypeScript classes to create directives, the instance methods such as link need to be explicitly bound to the instance in the constructor due to the way AngularJS invokes them. We should add the code in the constructors to do this automatically.