AngularJS Movable

An angular directive offering a simple way to make your items movable.

Examples

Whole panel draggable

Drag panel to move it
So easy :)

Panel header draggable

Drag header to move panel
So easy :)

Usage

Add a dependency to the ngMovable module in your application.

angular.module('app', ['ngMovable']);

Add attribute directives to your html:
movable or movable="selector" - jquery selector for closest parent to move

<div movable class="panel panel-default"></div>