Inside isolate scope I have the following binding:
scope: {
languages: "&",
}
The value is passed like that inside DOM:
<directive-name languages="['1', '2']">
Then when I try to access languages property scope.languages returns getter function like the one returned by the $parse service only with predefined context. So while I can easily get bound values like that
var languages = scope.languages()
I still want to make sure that this is indeed expected behavior. So should the & binding return predefined context getter function instead of actual values?