Example AngularJS directive for moving elements in the DOM