Skip to content

Does not work without ng-repeat #117

@urpro-bas

Description

@urpro-bas

It seems ngDraggable does not seem to work without ng-repeat, while I see not reason why it wouldn't. I have created a small example in js fiddle shows this.

http://jsfiddle.net/bjdscde1/

I created a single object that I want to drag called: lonelyDraggableObject. I copied the div from the example and bound it to the lonelyDraggableObject and it didn't work. But when I add ng-repeat="hack in [0]" it works. This does not really seem to make sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions