I'm using the Angular directive for Kendo's grid component, but instead of using it directly, I'm having a wrapper around it to keep the dependency to a minimum.
The thing is that since I have a wrapper, after the column templates have been compiled they have the wrapper's scope as $parent instead of the outer scope.Inside the column templates I currently have to write:
<
elem
attr
=
"$parent.$parent.value"
></
elem
>
It is rather unclear for new developers what is going on there and it is prone to errors, as well, if the hierarchy would change. Instead I would like to write:
<
elem
attr
=
"value"
></
elem
>
which means that I want to be able to define that the scope that gets created for the columns should inherit from a specific scope instead of the current scope. (Also, the wrapper has an isolated scope, so the properties are not inherited from the outer scope)
Is this possible to achieve?
Thanks in advance.