I am trying to create a directive to be added on multiple elements. The directive template has something liek this
<ul context menu k-filter='.hascontext'> <li ng-click="xxx.open()"></li></ul>
<div kendo-window="xxx"></div>
Is there way to assign the name of kendo window dynamically also dynamic k-filter for context menu? currently, I can see multiple context menu un-ordered list for context menu and kendo-window with same name and filter, so first one always reacts for any element right click.
I tried binding scope variables then it ignores it so nothing happens.
I might be doing something messy, please help!