// Use the html-sortable on the container that has the sortable elements: directive: <ul html-sortable="{ ... }" ng-model='data1'>...</ul>
{{ data1 }}