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.

bindToController should support "scope" syntax/features #10420

Closed
@johnlindquist

Description

@johnlindquist

currently, if you want to use "bindToController", you have to do this:

bindToController: true,
scope: {
message: "@"
}

to simplify, bindToController should support the scope syntax and automatically set to true:

bindToController: {
message: "@"
}

This helps explain what is actually happening and simplifies your code so it should be a simple win/win.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions