Skip to content

1.3.9 this.$bindToContext not working #1309

@sean-stanley

Description

@sean-stanley

Hi,

FYI callbacks wrapped in this.$bindToContext return undefined so the callback is never executed. This is probably related to an issue I raised in Angular Meteor Auth. This is after upgrading to 1.3.9 (still on Meteor 1.2).

I hope this is a quick fix and there will be a patch soon. In the meantime, I'm wrapping my callbacks in a $scope.$apply() to avoid nasty things happening when I run the callback outside of a digest cycle.

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