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>