Edit the order and remove items from an array.
Check index.html or http://plnkr.co/UNdUUg
Install with component(1):
$ component install enome-components/angular-arrangeable-array
require('angular-arrangeable-array');
var app = window.angular.module('my-app', [ 'arrangeable-array' ]);
app.controller('Ctrl', function ($scope) {
$scope.items = [ '/first', '/second', '/third', '/fourth' ];
$scope.$watch('items', function () {
console.log($scope.items);
}, true);
});
<body ng-app='my-app' ng-controller='Ctrl'>
<arrangeable-array array='items'></arrangeable-array>
</body>
MIT