altsanz/angularjs-tips

"Using passed methods with params through scope on directives" loses THIS reference

Opened this issue · 0 comments

"Using passed methods with params through scope on directives" technique doesn't allow method called to use this of original context. There's another way using method({ param1: value, param2: value})

Update docs