Inside my directive template i have this
<span sortable draggable></span>
Now i want to conditionally add sortable and draggale based on some scope variable
When i try this
<span ng-attr-sortable="false">
It basically becomes
<span sortable="false"></span> which still makes it sortable
I want sortable to be completely removed if expression is false
<span> </span>