Skip to content

Does not work when compile-time debugging is disabled #137

@michal-filip

Description

@michal-filip

Apparently, then compilation-time debugging is disabled in angular (recommended in production), the directives stop working because they rely on a missing function for getting element's scope.

This only causes trouble if this kind of code is used:

.config(['$compileProvider', function ($compileProvider) {
        $compileProvider.debugInfoEnabled(false);
    }])

See:
https://github.com/codef0rmer/angular-dragdrop/blob/master/src/angular-dragdrop.js#L71
angular/angular.js#9515

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