Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($controller): support instantiation of ES6 classes #13510

Closed
@petebacondarwin

Description

@petebacondarwin

See #12598 (comment)

The $controller service has two paths for creating instances of a controller. In the later == true path we are not using $injector.instantiate, which has recently been fixed to support ES6 classes.

We ought to refactor $controller to use $injector.instantiate in both paths for consistency, if this is possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions