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
Description
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.