Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

dialog does not inherit scope of controller #259

@gnesher

Description

@gnesher

It seems the dialog $scope does not inherit from the controller which created it.

I'm new to Angularjs, but I'm guessing the fact that the dialog is injected into the html body (and not the containing controller) might be causing this?

edit
I know I can use resolve, but I've got multiple objects that needs to be passed which isn't very comfortable (and slightly counter intuitive assuming I'm creating a scope anyway)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions