Skip to content

bug(ngUpgrade): modules provided to resumeBootstrap do not affect downgraded ng2 directives #7635

@sjelin

Description

@sjelin
  • *I'm submitting a ... *
    [x] bug report
    [ ] feature request
    [ ] support request => Please do not submit support request here, see note at the top of this template.
  • What is the current behavior?

Currently resumeBootstrap causes ngUpgrade to crash, but pending #7603 it will work. However, as @gkalpak points out, the current solution causes modules provided to resumeBootstrap not to reach downgraded ng2 directives. There isn't a straightforward solution though, because if bootstrapping happens before the ng2 directives are downgraded then the app will crash, since the ng2 templates don't work in ng1. Since there isn't a clear solution, I've decided to move forward with #7603 and document the problem here.

  • What is the expected behavior?

Mock modules passed to resumeBootstrap should affect downgraded ng2 directives

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