Skip to content

$rootScope versus back buttoning out of modal #49

@darylbrowneef

Description

@darylbrowneef

Our team encountered this problem:

  • we raise a welcome modal on a given page
  • user hits back button and welcome modal remains

Programmatically closing the modal registers as a dismissal, which
prevents it from opening on user's return to the page.

Our solution was to give the modal a local scope. Is there a good reason to put/have the modal in $rootScope?

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