This can be changed to simply:

```js
angular.extend(opts, uiSortableConfig, scope.$eval(attrs.uiSortable));
```