Conditionally applying an element is easy - just use ng-show. But what about an attribute?
IE
<div ui-sortable>
...
</div>
needs to be sortable only for admins, so do something like...
<div ng-conditional-attribute=" {'ui-sortable': 'user.isAdmin()'} ">
...
</div>
Create a custom directive or template and switch between the version with sortable attached and the version without.
Since a lot of directives also work from class you might be able to use ng-class="{'ui-sortable': user.isAdmin()}".
I don't know enough about the angular-ui directives to know what restrictions they have
Late to the party but it may help someone:
ng-readonly =""
will set the attribute if the expression is truthy.
There are a number of other ng attributes that work this way.